[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 15:12:37 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:  Awaiting Review
Component:  General       |    Version:  4.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 '''I'm not 100% if this is a bug, but here's the issue I am seeing:'''

 If I add a new page via the Customizer and schedule the changes for 5
 minutes in the future:
 * As an admin viewing the '''Share Preview Link''', I can view the new
 page.
 * As a visitor viewing the '''Share Preview Link''', I get a 404 when
 trying to access the new page.


 ----


 I posted a Google Doc with steps to reproduce and screenshots here:
 https://docs.google.com/document/d/1tiTjWjlUnVGNDaUZjFWmyg1BFRz6nF7tCTO-
 jjaXXUs/edit?usp=sharing

 '''If the document is unreachable, here are the steps from the doc:'''
 1. Install a new WordPress site via Softaculous
 1. Install WordPress Beta Tester plugin and upgrade to latest WordPress
 versions:
 1. Access the Customizer
 1. Menus > Top Menu > Add Items > ''Add New Page'' '''New Page 1''' > Add
 1. Schedule the changes for the future, like 1 hour in the future.
 1. Copy the Share Preview Link, you’ll need it in step 10.
 1. Click the Share Preview Link
 1. Click the link in the menu for '''New Page 1'''. You’re currently
 logged in as an admin, and you can see it.
 1. Logout of WordPress.
 1. As a visitor, access the '''Share Preview Link''' (the link you copied
 in step 6).
 1. Click '''New Page 1''' in the menu. You’ll get a 404.

 This 404 I believe is a bug. If I’ve been working on ''New Page 1'' and I
 want a client to preview my draft, I would expect them to be able to see
 it without logging in.

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


More information about the wp-trac mailing list