[wp-trac] [WordPress Trac] #42533: New pages scheduled via Customizer viewable as admin, 404 as visitor

WordPress Trac noreply at wordpress.org
Mon Nov 13 18:46:10 UTC 2017


#42533: New pages scheduled via Customizer viewable as admin, 404 as visitor
--------------------------+--------------------
 Reporter:  bwmarkle      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.1
Component:  General       |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by westonruter):

 We'd essentially need to force a given draft to be viewable by an
 unauthenticated user if it is a customization draft.

 This could involve a filter for capability check that looks to see if a
 given post is among the IDs in the `nav_menus_created_posts` setting, and
 if so, force the post to be readable.

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


More information about the wp-trac mailing list