[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
Sun Apr 23 05:02:29 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 raisonon):

 In [attachment:36163.2.diff]
 - Removed the ID completely from the code.
 - Introduced late escaping to the class name variable.

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


More information about the wp-trac mailing list