[wp-trac] [WordPress Trac] #51299: Remove the title attribute from Walker_Nav_Menu
WordPress Trac
noreply at wordpress.org
Thu Aug 5 00:29:59 UTC 2021
#51299: Remove the title attribute from Walker_Nav_Menu
---------------------------------------+-----------------------------
Reporter: Hareesh Pillai | Owner: Hareesh Pillai
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: title-attribute has-patch | Focuses: accessibility
---------------------------------------+-----------------------------
Comment (by sabernhardt):
In 51299.2.diff, only `the_title` filter is moved before `$atts` array.
Also, the condition for removing superfluous title attributes is grouped
with the existing conditional statement to avoid comparing against an
empty string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51299#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list