[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
Sat Apr 21 06:54:08 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:  needs-patch reporter-feedback  |
-------------------------------------------+------------------------------

Comment (by evansolomon):

 Replying to [comment:1 jane]:
 > Are you talking about someone clicking on the Preview Changes button to
 get to the Preview URL, or refreshing/copy/pasting the URL?

 Neither, at least not specifically.  Here is a way to get to the point I'm
 talking about:

 1) Write a post and save it as a draft
 2) Send a link to the post preview to someone else (i.e. "What do you
 think of this post? [link]")
 3) Get impatient waiting for your friend to reply and publish your post
 4) Now your friend clicks on your "preview" link

 At step 4 there's nothing being previewed, just a confusing URL that looks
 like it is.  Your friend is viewing a public post that would work without
 the "preview=true" in the URL, whether or not they have any capabilities
 on the blog.  If the "preview=true" were removed, it would run through
 {{{redirect_canonical()}}} and send the user to the post permalink.

 Nacin's interpretation is exactly what I intended.

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


More information about the wp-trac mailing list