[wp-trac] [WordPress Trac] #13656: Allow multiple "contexts" for wp_nav_menu()
WordPress Trac
wp-trac at lists.automattic.com
Mon May 31 14:22:28 UTC 2010
#13656: Allow multiple "contexts" for wp_nav_menu()
-------------------------+--------------------------------------------------
Reporter: nathanrice | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Menus | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
The 'context' in _wp_menu_item_classes_by_context is not the same as the
'context' that is the argument to wp_nav_menu. That's really just an
internal argument we use, as wp_nav_menu() is also used in the admin.
What you're probably looking for is theme_location. [14620], #13378.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13656#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list