[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 May 14 03:37:46 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:
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"40665"]:
{{{
#!CommitTicketReference repository="" revision="40665"
Menus: Prevent empty class attribute following [40537].
Prevents an empty class attribute, `class=""`, from appearing in the HTML
if a developer removes all classes using the `nav_menu_submenu_css_class`
filter.
Props Kopepasah.
Fixes #36163.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36163#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list