[wp-trac] [WordPress Trac] #36163: Make Walker_Nav_Menu::start_lvl more flexible by introducing filters for class name(s) at least

WordPress Trac noreply at wordpress.org
Tue Apr 4 23:18:37 UTC 2017


#36163: Make Walker_Nav_Menu::start_lvl more flexible by introducing filters for
class name(s) at least
-------------------------------------------------------+------------------
 Reporter:  ruslik                                     |       Owner:
     Type:  enhancement                                |      Status:  new
 Priority:  normal                                     |   Milestone:  4.8
Component:  Menus                                      |     Version:
 Severity:  normal                                     |  Resolution:
 Keywords:  needs-unit-tests good-first-bug has-patch  |     Focuses:
-------------------------------------------------------+------------------

Comment (by peterwilsoncc):

 I'd like to limit any changes on this ticket to the class, rather than
 adding an ID too.

 Adding an ID can be discussed in another ticket if needs be, as @ruslik
 mentions there's no way of ensuring the ID is unique in the current patch.
 A more complicated approach would need to be taken should it be decided to
 add them to core.

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


More information about the wp-trac mailing list