Comments and Pingbacks get cleared out when a pattern is edited (within the editor) and a metabox is shown #61827
Labels
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
Needs Testing
Needs further testing to be confirmed.
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When editing a post, if we also edit a pattern from within the post, the comment_status and pingbacks get turned off.
This happens only (from my tests) when a metabox is added / showing on the editor (example: the custom fields metabox or the Yoast SEO one).
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
This can be replicated with a fresh WordPress installation or WordPress playground without plugins installed.
This can't be replicated in older versions (before 6.5 - I think), seems the issue is present only when we edit the pattern on the post editor itself.
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
The text was updated successfully, but these errors were encountered: