[wp-trac] [WordPress Trac] #46964: ID attribute value are used multiple times in "Custom Field" form
WordPress Trac
noreply at wordpress.org
Sun Feb 9 19:40:07 UTC 2020
#46964: ID attribute value are used multiple times in "Custom Field" form
-------------------------------------------------+-------------------------
Reporter: jankimoradiya | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Editor | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch early | Focuses: ui,
commit needs-dev-note | accessibility
-------------------------------------------------+-------------------------
Changes (by joedolson):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"47222" 47222]:
{{{
#!CommitTicketReference repository="" revision="47222"
Editor: Fix incorrect usage of ID attributes on custom fields.
Repeated containers used for custom fields have duplicate ID attributes.
Duplicate IDs are incorrect HTML, and will also cause unexpected results
when trying to manipulate using JS. Duplicate IDs are changed to matching
classes; CSS & JS updated to match.
Props jankimoradiya, audrasjb, donmhico, afercia.
Fixes #46964.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46964#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list