-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
Description
In WP 6.7 RC, any controls/content added via PluginPostStatusInfo now appears after the 'Move to Trash' button when it appears.
In WP 6.6.2, controls added to PluginPostStatusInfo appear visually grouped with the other information, and they appear above trash button in previous WP versions -- one example is this older screenshot in the docs.
It's entirely possible that this behaviour is intentional. I labelled as a bug since it's a change from when the Trash button last displayed at the bottom of this panel in a WordPress release, but I could definitely be missing context for the change 🙂 The docs seem to indicate this is the way to add elements to this section, but if there's a newer recommendation (like moving these kinds of things to their own panels), just let me know!
Step-by-step reproduction instructions
- Add something to the Summary panel in the editor using
PluginPostStatusInfo. - Create a new post or page.
- Add some content and save, so the 'Move to Trash' button appears.
- Note it's inserted above your
PluginPostStatusInfocontent.
Screenshots, screen recording, code snippet
For comparison, screenshots of where a control added via PluginPostStatusInfo ends up in different versions of WordPress:
Environment info
This was recreated using WordPress 6.7 RC 2 and a custom classic theme (that's inserting the toggle). This also happens with the latest WordPress release (6.6.2) and Gutenberg v. 19.5.0.
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure


