[wp-trac] [WordPress Trac] #40359: allow arbitrary HTML attributes on <a> produced by Walker_Page

WordPress Trac noreply at wordpress.org
Mon May 1 23:31:18 UTC 2017


#40359: allow arbitrary HTML attributes on <a> produced by Walker_Page
-------------------------+-----------------------------
 Reporter:  pbiron       |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Future Release
Component:  Menus        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  accessibility
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40565"]:
 {{{
 #!CommitTicketReference repository="" revision="40565"
 Menus: Introduce `page_menu_link_attributes` filter in
 `Walker_Page::start_el()` for the HTML attributes applied to a page menu
 item's anchor element.

 This complements the `nav_menu_link_attributes` filter used in
 `Walker_Nav_Menu::start_el()`.

 Props pbiron.
 Fixes #40359.
 }}}

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


More information about the wp-trac mailing list