[wp-trac] [WordPress Trac] #18872: Preview of drafted posts not possible when front page is set to a static page

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 6 13:03:45 UTC 2011


#18872: Preview of drafted posts not possible when front page is set to a static
page
--------------------------+-----------------------------
 Reporter:  jnthnlstr     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  normal        |   Keywords:  dev-feedback
--------------------------+-----------------------------
 Problem: It is not possible to preview posts when you have set your front
 page to be a static page

 Steps to reproduce:
 - create a new blog
 - create a page
 - go to Settings->Reading
 - select your page in the 'static page' for the front page

 Then, there are some variants...

 1st variant:
 - create a new post, do not publish
 - do not click 'save draft'
 - click 'preview'
 - observe: visible front page, URL is like /?p=78&preview=true

 2nd variant:
 - create a new post, do not publish
 - click 'save draft'
 - click 'preview'
 - observe: visible front page, URL is like /?p=80&preview=true

 3rd variant:
 - create a new post
 - publish
 - make a change
 - hit 'preview changes'
 - observe: correct page preview, URL is like /new-post-
 three?preview=true&preview_id=83&preview_nonce=084e8f6b22

 4th variant:
 - create a new post
 - publish
 - change status to 'draft', click 'update'
 - hit 'preview'
 - observe: visible front page, URL is like /?p=86&preview=true

 Conclusion: draft pages not previewable when front page set to static
 page.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18872>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list