[wp-trac] [WordPress Trac] #14439: Unable to get a post associated menu items for a specific menu
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 28 03:32:06 UTC 2010
#14439: Unable to get a post associated menu items for a specific menu
--------------------------+-------------------------------------------------
Reporter: DreadLox | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Hello,
The actual wp_get_associated_nav_menu_items function works well but gets
menu items associated with an object from ANY menu. So a parameter needs
to be added to specify a specific menu to get menu items associated with
an object from a specific menu.
Patch is attached. The use of get_term() is needed because of the bug
#14438
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14439>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list