[wp-trac] [WordPress Trac] #19038: Menu Items aren't deleting on page being trashed, only when deleted

WordPress Trac noreply at wordpress.org
Tue Sep 13 06:30:17 UTC 2016


#19038: Menu Items aren't deleting on page being trashed, only when deleted
-----------------------------------+--------------------
 Reporter:  jeremyatignition       |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  4.7
Component:  Menus                  |     Version:  3.2.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch ux-feedback  |     Focuses:
-----------------------------------+--------------------
Changes (by swissspidy):

 * milestone:  Future Release => 4.7


Comment:

 > I think a menu item of a trashed object should show as invalid in the
 admin and not show up at all on the front-end.

 Just ran into this again. When I add a page or post to the menu and trash
 it, the menu item is still visible on the front-end. The permalink changes
 to `http://src.wordpress-develop.dev/<slug>__trashed/` as expected because
 the slug changes when trashing. There's no indication when editing the
 menu that the post/page is trashed either.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19038#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list