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

WordPress Trac noreply at wordpress.org
Fri Feb 21 02:37:22 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 azaozz):

 Agree with @elliotcondon and @audrasjb that this should be reverted for
 now. These HTML IDs `#poststuff`, `#postbox-container*`, etc. were used to
 signify that only one element can be present on the page. That had (as far
 as I remember) something to do with them being "dynamic" draggable
 containers and IE6 (yeah, they are that old!).

 The bug here is that they are now used multiple times. Changing them to
 classes is not backwards compatible.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46964#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list