[wp-trac] [WordPress Trac] #20496: Previews should redirect to the permalink if the post has been published

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 18:13:29 UTC 2012


#20496: Previews should redirect to the permalink if the post has been published
-------------------------+------------------------------
 Reporter:  evansolomon  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Canonical    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  close        |
-------------------------+------------------------------
Changes (by azaozz):

 * keywords:  needs-patch => close


Comment:

 Previews work for both un-published and published posts. In the first case
 the post is shown on the front end.

 In the second case the post_content is taken from the editor and shown on
 the front end, so when previewing a published post, you are looking at any
 edits/changes made since the post was published. That's why the button's
 name changes to Preview Changes.

 So, to answer directly to the concern in the ticket:

 "This is confusing since you're not actually previewing anything, you're
 viewing a public post."

 No, you are not viewing a public post, you are previewing changes made
 since the post was published.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20496#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list