[wp-trac] [WordPress Trac] #61014: Duplicate HTML id attribute in Quick/Bulk Edit on pages and post list

WordPress Trac noreply at wordpress.org
Tue Aug 13 23:36:08 UTC 2024


#61014: Duplicate HTML id attribute in Quick/Bulk Edit on pages and post list
-----------------------------+--------------------------------
 Reporter:  zodiac1978       |       Owner:  rcreators
     Type:  defect (bug)     |      Status:  closed
 Priority:  low              |   Milestone:  6.7
Component:  Quick/Bulk Edit  |     Version:
 Severity:  minor            |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:  ui, accessibility
-----------------------------+--------------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58894" 58894]:
 {{{
 #!CommitTicketReference repository="" revision="58894"
 Bulk/Quick Edit: Remove duplicate HTML IDs from post list tables.

 Removes duplicate IDs on the post list admin pages affecting various list
 items, selects and checkboxes:

 * JavaScript duplication of the inline editing HTML for bulk editing
 renames various IDs to include the prefix `bulk-edit-`,
 * IDs in the Category Checkbox Walker make use of
 `wp_unique_prefixed_id()` to avoid duplicates, resulting in a numeric
 suffix, and,
 * the post parent dropdown for the bulk editor is given a custom ID
 `bulk_edit_post_parent`.

 Props peterwilsoncc, sergeybiryukov, azaozz, joedolson, siliconforks,
 zodiac1978, rcreators.
 Fixes #61014.
 }}}

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


More information about the wp-trac mailing list