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

WordPress Trac noreply at wordpress.org
Thu May 4 14:47:25 UTC 2017


#40666: allow arbitrary HTML attributes on <a> produced by Walker_Category
-------------------------+-----------------------------
 Reporter:  pbiron       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 `Walker_Nav_Menu` currently allows arbitrary HTML attributes to be added
 to the <a> tags it generates via the `nav_menu_link_attributes` filter.

 It would be useful to do the same in `Walker_Category` (i.e., add a
 `category_menu_link_attributes` filter).

 Related: #40359

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40666>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list