[wp-trac] [WordPress Trac] #40178: Menus that contain post types in Draft status should be hidden from logged out users

WordPress Trac noreply at wordpress.org
Wed May 28 14:07:19 UTC 2025


#40178: Menus that contain post types in Draft status should be hidden from logged
out users
-------------------------------------------------+-------------------------
 Reporter:  jdingman                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:  4.7.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:  ui,
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by avinashbhosale):

 == Reproduction Report
 === Description
 This report validates that the issue cannot be reproduced.

 === Environment
 - WordPress: 6.8.1
 - PHP: 8.2.27
 - Server: nginx/1.26.1
 - Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.27)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Admin and Site Enhancements (ASE) 7.8.12
   * Site Kit by Google 1.153.0
   * Test Reports 1.2.0
   * WP Consent API 1.0.8

 === Actual Results
 1.  ❌ Error condition does not occurs (not reproduced).

 === Additional Notes
 - I created a menu with 3 page links added to it, changed the status of
 the 2 pages in the menu to draft/pending review. The menu does not show
 the page links for the pages saved as draft or pending review. The page
 links are not displayed in the menu to the logged out users as well.

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


More information about the wp-trac mailing list