[wp-trac] [WordPress Trac] #51256: Duplicate HTML IDs for checkboxes in Plugins list table
WordPress Trac
noreply at wordpress.org
Sat Sep 5 17:30:32 UTC 2020
#51256: Duplicate HTML IDs for checkboxes in Plugins list table
----------------------------+--------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6
Component: Plugins | Version:
Severity: normal | Keywords:
Focuses: administration |
----------------------------+--------------------
Background: #49916
If you have two plugins with the same name, but in different directories,
the corresponding checkboxes on Plugins screen have duplicate ID
attributes:
{{{
[DOM] Found 2 elements with non-unique id
#checkbox_a55f1e83ab4fee1b42772d08e9971a9c: (More info:
https://goo.gl/9p2vKq)
<input type="checkbox" name="checked[]" value="debug-bar/debug-bar.php"
id="checkbox_a55f1e83ab4fee1b42772d08e9971a9c">
<input type="checkbox" name="checked[]" value="debug-bar-old/debug-
bar.php" id="checkbox_a55f1e83ab4fee1b42772d08e9971a9c">
}}}
Something like [48374] should be implemented for these checkboxes too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51256>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list