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. Built from https://develop.svn.wordpress.org/trunk@62168 git-svn-id: http://core.svn.wordpress.org/trunk@61450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -687,6 +687,7 @@ function create_initial_post_types() {
|
||||
'show_in_menu' => false,
|
||||
'show_in_rest' => false,
|
||||
'show_ui' => false,
|
||||
'can_export' => false,
|
||||
'supports' => array( 'custom-fields' ),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.1-alpha-62167';
|
||||
$wp_version = '7.1-alpha-62168';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user