[wp-trac] [WordPress Trac] #65286: major publishing action buttons are crowded in the Publish settings
WordPress Trac
noreply at wordpress.org
Mon May 25 21:15:33 UTC 2026
#65286: major publishing action buttons are crowded in the Publish settings
--------------------------+-----------------------------
Reporter: rlucian | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0.1
Component: Editor | Version: 7.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by abhishekfdd):
* keywords: needs-patch => has-patch
Comment:
Attaching a patch with the one-line fix suggested by @cogdesign in
comment:4.
Root cause: [61645] converted `#major-publishing-actions` from float-based
layout to `display: flex` with `justify-content: space-between`. The
container
is designed around two slots (Move to Trash on the left, Publish/Update on
the right), so any plugin that injects a third item via
`post_submitbox_misc_actions` or `post_submitbox_start` gets squeezed into
the middle.
The old float layout wrapped naturally when content overflowed, so this is
a layout regression in 7.0 rather than a plugin bug. Adding `flex-wrap:
wrap`
restores wrap-on-overflow behavior while keeping the new flex alignment
for
the default two-button case.
Verified the reproduction with both WP Rocket (per the report) and Yoast
Duplicate Post (per @threadi in comment:5). With the patch applied, the
injected button drops to its own line as it did in 6.9.4, and the default
no-plugin layout is unchanged.
Patch only touches the one rule — keeping the diff minimal for 7.0.1
backport. Happy to follow up with a small `row-gap` for vertical spacing
between wrapped rows in a separate ticket if that's preferred.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65286#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list