Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#49424 closed defect (bug) (duplicate)

Breaking change to DOM/CSS from #poststuff to .poststuff

Reported by: elliotcondon's profile elliotcondon Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.4
Component: Editor Keywords:
Focuses: Cc:


The element used to wrap admin page HTML has changed in WP 5.4 from <div id="poststuff"> to <div class="poststuff">.

This change will cause major issues for plugins and themes that include css/js relying on that well-established wrapping element to exist.

Q1. Is it be possible to revert this change from class back to id?
Q2. If the change must go ahead, can we retain backwards compatibility by also adding in the additional id attribute?


Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Editor
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome back to WordPress Trac!

Thanks for the report, this is being tracked in #46964 for now. I agree the current state is not ideal, we're exploring other approaches there.

Note: See TracTickets for help on using tickets.