[wp-trac] [WordPress Trac] #13793: Missing child_of parameter to wp_get_nav_menu_items
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 9 11:11:44 UTC 2010
#13793: Missing child_of parameter to wp_get_nav_menu_items
--------------------------+-------------------------------------------------
Reporter: DreadLox | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: Menus | Version:
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Hello,
To get a portion of a menu we need a child_of parameter to
wp_get_nav_menu_items function like wp_list_pages has.
As the $args passed to wp_get_nav_menu_items are passed to get_post, I
tried to gibe it a post_parent argument but no success.
As the new menu system is an enhancement over menus based on pages, it is
a bug as it is a regression over the old way to display menus.
Regards
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13793>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list