Make WordPress Core


Ignore:
Timestamp:
03/27/2026 10:46:01 PM (15 hours ago)
Author:
peterwilsoncc
Message:

Exports: Exclude wp_sync_storage post type from exports.

Configured the Real Time Collaboration post type to be excluded from exports by default. The data is considered ephemeral and includes data on post IDs that may not match the IDs of posts on the importing site.

Introduces a test to the export test suite to ensure that post types set to be excluded from exports are, in fact, excluded from exports.

Props peterwilsoncc, desrosj, westonruter, jorbin, mukesh27, czarate.
Fixes #64964.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r62075 r62168  
    688688                'show_in_rest'       => false,
    689689                'show_ui'            => false,
     690                'can_export'         => false,
    690691                'supports'           => array( 'custom-fields' ),
    691692            )
Note: See TracChangeset for help on using the changeset viewer.