[wp-trac] [WordPress Trac] #21070: Added a filter to the sub-menu class attribute
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 25 12:47:35 UTC 2012
#21070: Added a filter to the sub-menu class attribute
---------------------------+-----------------------------
Reporter: bjornjohansen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.4
Severity: normal | Keywords: has-patch
---------------------------+-----------------------------
The sub-menus are hard coded with "sub-menu" as the only CSS class. This
may cause bad performing CSS with maintainability issues, like when you're
targeting the third level sub menu.
I've added a filter, so CSS classes like "sub-menu-level-$depth" can be
added.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21070>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list