[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
Fri Mar 17 00:53:24 UTC 2017


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

Comment (by bor0):

 I was able to reproduce this and I agree that it is a bug. Non-published
 pages do not appear on the dropdown list in Appearance > Menus. However,
 when once added to a menu, they will appear in the Menu Structure in wp-
 admin regardless of their publish status.

 After proposed patch, unpublished items will appear as such "Name
 (Invalid)" on the wp-admin part.

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


More information about the wp-trac mailing list