gutenberg
gutenberg copied to clipboard
WP 6.3-beta3: pattern export and import ignores sync type
Description
If you export a synced pattern the sync type (synced/unsynced) is not stored in the json file.
So an imported unsynced pattern will always become a synced pattern after import and the user has no way to change that to unsynced.
Step-by-step reproduction instructions
- Go to /wp-admin/edit.php?post_type=wp_block
- Export a synced pattern
- Permanently delete the pattern you just exported
- Import the pattern and notice it now is marked as fully synced and you cannot change that
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Thanks for reporting @bvlgn