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

WordPress Trac noreply at wordpress.org
Sun Jun 29 12:53:01 UTC 2025


#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 needs-patch has-      |     Focuses:
  test-info                                      |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => good-first-bug needs-patch has-
     test-info


Comment:

 == Reproduction Report
 === Description
 ✅ This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Fifteen 4.0
 - MU Plugins: None activated
 - Plugins:
   * Classic Editor 1.6.7
   * Hello Dolly 9.7.2
   * Image Generator 1.1
   * Test Reports 1.2.0

 === Reproduction Instructions
 1. Create a Page and publish it
 2. Create a new Menu
 3. Add this Page created to the menu
 4. Unpublish the page to Pending Review Status
 5. Check the menu in the front-end
 6. 🐞 Page is still there showing

 === Expected Results

 - Page should disappear from menu when is not published (or menu should be
 checking if all links are active)

 === Actual Results
 1.  ✅ Error condition occurs (reproduced).

 === Additional Notes
 - The issue is already happening, but released patches are not working. A
 full refresh is required. To add more traction given that the patch is not
 valid any more, I would wipe the `has-patch`, and set it as a fresh
 report.

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


More information about the wp-trac mailing list