[wp-trac] [WordPress Trac] #26795: Deleting a page do not updates menu items and generates Notices in frontend and backend
WordPress Trac
noreply at wordpress.org
Sat Jan 11 14:34:06 UTC 2014
#26795: Deleting a page do not updates menu items and generates Notices in frontend
and backend
--------------------------+------------------
Reporter: UmeshSingla | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Menus | Version: 3.8
Severity: major | Resolution:
Keywords: needs-patch |
--------------------------+------------------
Changes (by ocean90):
* keywords: has-patch needs-testing => needs-patch
* milestone: Awaiting Review => 3.9
Comment:
The issue is, that `_wp_delete_post_menu_item()` doesn't delete the nav
menu object. `_wp_delete_post_menu_item()` is hooked into `delete_post`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26795#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list