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

WordPress Trac noreply at wordpress.org
Fri Oct 7 16:49:21 UTC 2016


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38744"]:
 {{{
 #!CommitTicketReference repository="" revision="38744"
 Menus: Do not show trashed posts in nav menus.

 Trashed posts cannot be accessed by site visitors and thus should not be
 visible on the front end. By marking menu items of trashed posts as
 invalid, they are excluded from the output.

 Props solarissmoke, swissspidy.
 Fixes #19038.
 }}}

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


More information about the wp-trac mailing list