[wp-trac] [WordPress Trac] #26795: Navigation Menu does not updates after a page or post is deleted, which leads to inconsistent menu in backend and frontend
WordPress Trac
noreply at wordpress.org
Sun Feb 9 21:36:17 UTC 2014
#26795: Navigation Menu does not updates after a page or post is deleted, which
leads to inconsistent menu in backend and frontend
------------------------------+----------------------
Reporter: UmeshSingla | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Menus | Version: 3.7
Severity: major | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by ocean90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"27150"]:
{{{
#!CommitTicketReference repository="" revision="27150"
Nav Menu: Remove post/page items from the Nav Menu when the post/page is
deleted.
This was broken through a change in [25163]. `_menu_item_object` in
wp_get_associated_nav_menu_items() is not relevant for post types.
Adds unit tests.
props UmeshSingla for initial patch.
fixes #26795.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26795#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list