id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 26795 Navigation Menu does not updates after a page or post is deleted, which leads to inconsistent menu in backend and frontend UmeshSingla ocean90 "If I've added a page in menu and later I delete it permanently, It does not get remove from menu items and instead displays notice as `$original_object = get_post( $menu_item->object_id );` in `nav_menu.php` on line 596 returns nothing. Theme: Twentyfourteen Wordpress Version 3.8 To replicate the issue: 1. Create a Normal Page. 2. Add page to menu and Update it. 3. Delete the Page Permanently 4. If debug is turned, php notice are there on the menu page in backend as well as frontend. If debug is off you can still see the space for items in menu. 5. On saving the menu back, the menu item is removed. It happens as `_wp_delete_post_menu_item` is not updating the menu items on `delete_post` hook" defect (bug) closed normal 3.9 Menus 3.7 major fixed has-patch commit