[wp-trac] [WordPress Trac] #18617: Renaming menus orphans children when using global terms
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 7 21:36:15 UTC 2011
#18617: Renaming menus orphans children when using global terms
---------------------------+-----------------------------
Reporter: adambackstrom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.2.1
Severity: normal | Keywords:
---------------------------+-----------------------------
Renaming a menu when global terms is enabled will cause the menu to be
disassociated from its children. This is caused by the reliance on
`wp_get_nav_menu_object()` in `wp_update_nav_menu_item()` and elsewhere,
where the calling function attempts to get the menu object using the old
global term id rather than the new global term id. The menu items appear
to be invalid because the menu term id has changed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18617>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list