[wp-trac] [WordPress Trac] #39496: Can't view page preview.
WordPress Trac
noreply at wordpress.org
Fri Jan 6 19:49:56 UTC 2017
#39496: Can't view page preview.
--------------------------+------------------------------
Reporter: davidmlentz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by davidmlentz):
Replying to [comment:3 lukecavanagh]:
> @davidmlentz
>
> I tested with Twenty Seventeen as the active theme.
I'm experiencing the same bug when I have the Twenty Seventeen theme
active. I see nothing but the "Sorry, you are not allowed to preview
drafts" error message in a new tab, where I expect to see my preview.
I hadn't noticed this before, but if I click the Preview Changes button a
second time, I do see a preview in the new tab, but it doesn't include the
wp-admin-bar.
The view where the error appears has a URL that ends in
{{{
?preview_id=12345&preview_nonce=1234567890&_thumbnail_id=-1&preview=true
}}}
The view where the actual content appears (sans wp-admin-bar, as if I'm
unauthenticated), ends in
{{{
?preview=true
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39496#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list