[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 04:09:21 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 joedolson):
@elliotcondon Thanks for chiming in!
Can you give me an example of a JS dependency on this? The CSS
dependencies are easily handled, but an example of a plugin that depends
on this ID for JS would be helpful.
We can't just keep the ID, per se - we can conceivably try and keep the
first occurrence of the ID only, but all others would have to change if
we're going to solve the problem of duplicate IDs. The poststuff ID should
have always been unique, but unfortunately it isn't.
It's possible that this will be reverted, but only to give more time to
explore other solutions later.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46964#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list