[wp-trac] [WordPress Trac] #13664: Consolidate menu item class assignments
WordPress Trac
wp-trac at lists.automattic.com
Mon May 31 20:58:51 UTC 2010
#13664: Consolidate menu item class assignments
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: Menus | Version:
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
We should be assigning classes to menu items using the helper function
_wp_menu_item_classes_by_context(). The classes being assigned in
Walker_Nav_Menu::start_el() need to be moved there, including the ones
that are back compat for wp_page_menu(). The current divide will cause
inconsistencies when custom walkers are used.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13664>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list