[wp-trac] [WordPress Trac] #46964: ID attribute value are used multiple times in "Custom Field" form

WordPress Trac noreply at wordpress.org
Wed Feb 19 03:39:07 UTC 2020


#46964: ID attribute value are used multiple times in "Custom Field" form
-------------------------------------------------+-------------------------
 Reporter:  jankimoradiya                        |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.4
Component:  Editor                               |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch early      |     Focuses:  ui,
  commit needs-dev-note                          |  accessibility
-------------------------------------------------+-------------------------

Comment (by elliotcondon):

 Hi all,

 Elliot here from ACF expressing my concern over this issue.

 To recap, 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/46964#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list