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

WordPress Trac noreply at wordpress.org
Sun Dec 13 04:36:25 UTC 2015


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

Comment (by Jpyper):

 Replying to [comment:8 swissspidy]:
 > Replying to [comment:7 Jpyper]:
 > > Honest question: when is it better to trash a page rather than just
 set it to draft to temporarily remove it? I'd consider trashing a page as
 intent to never get it back. This may just be my opinion/preference though
 and not the majority of other user's way.
 >
 > True. I was just giving an example. There's a reason why this wasn't
 implemented for trashed pages. My suggestion is still the same as pages or
 posts can be untrashed.

 I don't know if I've ever seen that "invalid" menu item scenario come up
 before, I just had to look it up. That actually sounds better. The main
 goal is to have the menu item not show on the front end if it's object was
 trashed. It would be nice to make it easy to reinstate that menu item just
 by bringing the object back (as long as it's not removed from the DB,
 obviously).

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


More information about the wp-trac mailing list