[wp-trac] [WordPress Trac] #40359: allow arbitrary HTML attributes on <a> produced by Walker_Page
WordPress Trac
noreply at wordpress.org
Thu Mar 21 10:36:28 UTC 2019
#40359: allow arbitrary HTML attributes on <a> produced by Walker_Page
--------------------------------------+-----------------------------
Reporter: pbiron | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Menus | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note | Focuses: accessibility
--------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"44957" 44957]:
{{{
#!CommitTicketReference repository="" revision="44957"
Accessibility: Introduce `category_list_link_attributes` filter in
`Walker_Category::start_el()` for the HTML attributes applied to a
category list item's anchor element.
This complements the `page_menu_link_attributes` filter in
`Walker_Page::start_el()` and the `nav_menu_link_attributes` filter in
`Walker_Nav_Menu::start_el()`.
Props pbiron, audrasjb, afercia.
Fixes #40666. See #40359.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40359#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list