-
Notifications
You must be signed in to change notification settings - Fork 60
Description
The Save Synced Patterns checkbox is not checked by default.
There is a note saying:
Any synced patterns created in the Editor will be moved to the theme. Note that this will delete all synced patterns from the Editor and any references in templates will be made relative to the theme.
What it doesn’t tell you is that any use of the patterns as reusable blocks in posts, pages or other content will not be changed to refer to the theme’s pattern, and will therefore no longer work.
While developing a replacement theme for WP-Pompey I inadvertently selected the Save Synced Patterns checkbox.
4 patterns were generated, but in the process, the removal of the wp_blocks
posts meant that several posts were broken.
Fortunately I was working on a local copy of the site.
I did however investigate and document the steps that might be needed in order to recover a live site. It wasn't an easy process. I can add this information in a later comment if necessary.
My requirement is for a better warning system when CBT could possibly destroy existing content.