[wp-trac] [WordPress Trac] #13916: $args not passed to wp_get_nav_menu_items in wp_nav_menu function
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 16 01:44:39 UTC 2010
#13916: $args not passed to wp_get_nav_menu_items in wp_nav_menu function
--------------------------+-------------------------------------------------
Reporter: DreadLox | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Menus | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by DreadLox):
I understand that.Thus there is no way to pass args to
wp_get_nav_menu_items filter witch makes it '''useless'''.
I have '''one''' menu. On the top bar, I display it using depth=1 (so it
displays the first level) then I have an other one in the side bar. For
the last, I get the current page ancestor ID and pass it to wp_nav_menu to
get only that submenu.
As it is now, I have no way to do that. Maybe you do ?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13916#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list