[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 11:52:10 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 ruslik):
Replying to [comment:7 darthaud]:
I think there also should be a way to generate unique IDs for sub-level
ULs to make output valid HTML (with current patch I don't see a way to do
it). Maybe introduce static class property with index or something like
that and then add it to filter args.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36163#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list