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
- Edit or create a post (Gutenberg)
- Make sure you have Custom Fields showing on the editor (hamburguer menu, preferences, advanced , custom fields)
- If there's no pattern on that post yet, create one (that syncs across posts)
- Make sure the posts and pingbacks are turned on.
- Edit the pattern and save it
- Head back to the Post editor. If you refresh the page here you'll notice that the comments and pingbacks are turned off. Same happens if instead of refreshing you just "Save Draft" or Update Post. This means somehting is happening in the backend and changing these fields without updating the UI (only when we get new data from the server, do those fields show as off).
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
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