Make WordPress Core

Opened 3 months ago

Closed 2 months ago

#65362 closed defect (bug) (duplicate)

Regression: display: flex on #major-publishing-actions breaks layout in Classic Editor box with third-party plugins

Reported by: mwcom82 Owned by:
Priority: normal Milestone:
Component: Administration Version: 7.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

### Description
A recent core update introduced display: flex; to the #major-publishing-actions container in the classic post editing screen. While this alignment works fine on a vanilla installation, it introduces a major visual regression when third-party extensions (such as translation tools, SEO plugins, or cache purgers) inject links or custom toggles inside or adjacent to this container.

The flexbox layout forces all child elements onto a single horizontal line without wrapping properly, causing text to overlap, layout breaking, and pushing the main blue "Publish/Update" button out of the screen boundaries.

### Steps to reproduce

  1. Use the Classic Editor (or Classic block) on WordPress 7.x (or latest core).
  2. Install plugins that inject actions into the publishing box (e.g., Yoast, WPML, Polylang, or caching tools).
  3. Go to Edit Post. Look at the "Publish" meta box on the right sidebar.

### Expected behavior
The container should let elements wrap gracefully or stack vertically so that the "Publish" button and "Move to trash" link remain accessible and readable.

### Actual behavior
Elements overlap horizontally, rendering the UI broken and the publish button hidden or pushed down.

### Proposed Fix / Workaround
Disabling display: flex and reverting to the legacy block/float behavior solves the issue completely.

`css
#major-publishing-actions {

display: block !important;

}
#delete-action {

float: left;

}
#publishing-action {

float: right;

}

Attachments (1)

Capture d’écran 2026-05-28 à 10.24.56.png (45.6 KB ) - added by mwcom82 3 months ago.

Download all attachments as: .zip

Change History (4)

#2 @ankitkumarshah
2 months ago

Hi @mwcom82, thank you for reporting this issue and providing the details.

I was able to reproduce the problem on my end and have opened a PR with a proposed patch to address the layout issue in the Classic Editor publish box.

Whenever you have a chance, could you please review the PR? Thank You!

#3 @davidbaumwald
2 months ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Hi @mwcom82 and welcome to Trac!

This is being tracked in #65286, and until 7.0.1 is released, you can use the Hotfix plugin.

https://make.wordpress.org/core/2026/05/28/hotfix-available-for-65286/

Note: See TracTickets for help on using tickets.