[wp-trac] Re: [WordPress Trac] #8052: Previewing published post doesn't use the proper template

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 4 08:19:30 GMT 2008


#8052: Previewing  published post doesn't use the proper template
-------------------------+--------------------------------------------------
 Reporter:  johnconners  |        Owner:  anonymous
     Type:  defect       |       Status:  new      
 Priority:  normal       |    Milestone:  2.8      
Component:  General      |      Version:  2.7      
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by azaozz):

  * summary:  Confusing behaviour of 'Preview' button on published posts =>
              Previewing  published post doesn't use the
              proper template

Comment:

 Both observations are correct: clicking Preview on already published post
 shows that post including the latest changes made just before previewing
 it. These changes are not yet saved and visible on the blog. Currently not
 all query vars are set correctly so this uses the home template instead of
 single.php/page.php.

 Clicking preview immediately after starting a new post runs autosave
 manually (same as in 2.6) so there is a post to preview (there's nothing
 in the db before that). This is only needed when previewing a new post
 befire entering a title.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8052#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list