[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
Thu Mar 16 23:39:46 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              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 I recently added 2 pages to my site. I published them, and moved them into
 a Menu on my site.

 Then realized, I don't want them public, but I also don't want to lose
 their positioning where I put them in the menu. I moved them to draft.


 When I go to my site logged out, I still see the links and goes to a 404.

 I'm proposing that when an item in the Menu moves to a non-published state
 that isn't the Trash (Draft or Pending), it should remain in the nav, but
 be hidden from any logged out users.

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


More information about the wp-trac mailing list