[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:57:47 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 filosofo):
I think I would take another approach, but if I had to work with that I
would set a global variable that let me know whether the current call to
`wp_get_nav_menu_items` were in the sidebar, and then check that global
variable within the callback attached to the `wp_get_nav_menu_items`
filter.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13916#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list