[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 May 9 05:05:27 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                          |  peterwilsoncc
 Priority:  normal                               |      Status:  closed
Component:  Menus                                |   Milestone:  4.8
 Severity:  normal                               |     Version:
 Keywords:  needs-unit-tests good-first-bug      |  Resolution:  fixed
  has-patch                                      |     Focuses:
-------------------------------------------------+-------------------------

Comment (by Kopepasah):

 @peterwilsoncc I think it might be better to make an empty array to not
 append and empty `class=` attribute to the `<ul>` element.

 See: https://github.com/xwp/wordpress-develop/pull/228

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


More information about the wp-trac mailing list