Skip to content

PluginPostStatusInfo panel appears after Move to Trash in WP 6.7 RC2 #66652

@laurelfulford

Description

@laurelfulford

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

  1. Add something to the Summary panel in the editor using PluginPostStatusInfo.
  2. Create a new post or page.
  3. Add some content and save, so the 'Move to Trash' button appears.
  4. Note it's inserted above your PluginPostStatusInfo content.

Screenshots, screen recording, code snippet

For comparison, screenshots of where a control added via PluginPostStatusInfo ends up in different versions of WordPress:

WordPress 6.5.5:
Image

WordPress 6.6.2:
Image

WordPress 6.7 RC2:
Image

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

Metadata

Metadata

Assignees

Labels

[Feature] Document SettingsDocument settings experience[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions