[wp-trac] [WordPress Trac] #40666: allow arbitrary HTML attributes on <a> produced by Walker_Category
WordPress Trac
noreply at wordpress.org
Thu Mar 21 10:36:28 UTC 2019
#40666: allow arbitrary HTML attributes on <a> produced by Walker_Category
---------------------------------------------+-----------------------------
Reporter: pbiron | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit needs-dev-note | Focuses: accessibility
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
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/40666#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list