[wp-trac] [WordPress Trac] #13822: Menu items that get unpublished still appear

WordPress Trac noreply at wordpress.org
Mon Mar 30 21:06:58 UTC 2026


#13822: Menu items that get unpublished still appear
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:  nacin
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Menus                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-test-info has-    |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by alejandrovargascastro):

 Replying to [ticket:13822 nacin]:
 > We need to properly account for menu items linked to unpublished/pending
 post type objects.
 >
 > My thought is they should probably be hidden from the frontend with an
 indication on the backend (like "(Pending)") that they are are
 unpublished/pending.
 >
 > We need to properly handle private posts too.

 Tested on latest WordPress version.

 I followed the steps related to menu item behavior and analyzed how
 unpublished elements are handled.

 The behavior described in the ticket is understandable, and I was able to
 observe how menu items may still appear depending on their state.

 Environment:
 Windows 11
 Google Chrome

 Thank you.

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


More information about the wp-trac mailing list