Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#64964 closed defect (bug) (fixed)

Real time collaboration: Exclude syncing post type from exports.

Reported by: peterwilsoncc Owned by: peterwilsoncc
Priority: normal Milestone: 7.0
Component: Export Version:
Severity: normal Keywords: has-patch commit dev-reviewed
Cc: Focuses:

Description

The wp_sync_storage post type should not be included in exports of post data as the data contained is ephemeral and not intended to be retained when exporting content to be imported elsewhere. Additionally, the post ID references contained within the data is likely to be incorrect in imports to sites with existing data.

Props @westonruter for discovery in https://core.trac.wordpress.org/ticket/64696#comment:132

Change History (5)

This ticket was mentioned in ​PR #11369 on ​WordPress/wordpress-develop by ​@peterwilsoncc.


8 months ago
#1

  • Keywords has-patch added

Exclude the RTC post type from WordPress exports.

Trac ticket: https://core.trac.wordpress.org/ticket/64964

## Use of AI Tools

#2 @mukesh27
8 months ago

  • Keywords commit added

Mark ready for commit.

#3 @peterwilsoncc
8 months ago

  • Keywords dev-reviewed added

The linked PR has approvals from three other committers so I'm going to consider this as dev-reviewed for commit purposes.

#4 @peterwilsoncc
8 months ago

  • Resolution → fixed
  • Status assigned → closed

In 62168:

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.

#5 @peterwilsoncc
8 months ago

In 62169:

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.

Reviewed by westonruter, desrosj, jorbin.
Merges r62168 to the 7.0 branch.

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

Note: See TracTickets for help on using tickets.