[wp-trac] [WordPress Trac] #23902: Classes set with nav_menu_css_class are not accessible in walker_nav_menu_start_el

WordPress Trac noreply at wordpress.org
Fri Feb 21 20:28:56 UTC 2014


#23902: Classes set with nav_menu_css_class are not accessible in
walker_nav_menu_start_el
-------------------------------+------------------------------
 Reporter:  jamesmehorter      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Menus              |     Version:  3.5.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by ericlewis):

 * keywords:   => reporter-feedback


Comment:

 I don't see a utility in having the class names of the `<li>` wrapper in
 the filter for the inner output (`walker_nav_menu_start_el`).

 @jamesmehorter can you provide a use case?

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


More information about the wp-trac mailing list