Opened 5 years ago
Closed 5 years ago
#49424 closed defect (bug) (duplicate)
Breaking change to DOM/CSS from #poststuff to .poststuff
Reported by: | elliotcondon | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.4 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
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?
Thanks,
Elliot
Change History (1)
Note: See
TracTickets for help on using
tickets.
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.