[wp-trac] [WordPress Trac] #49424: Breaking change to DOM/CSS from #poststuff to .poststuff
WordPress Trac
noreply at wordpress.org
Thu Feb 13 03:35:55 UTC 2020
#49424: Breaking change to DOM/CSS from #poststuff to .poststuff
--------------------------+-----------------------------
Reporter: elliotcondon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49424>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list