[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 11:40:50 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  |
-------------------------+------------------------------

Comment (by nacin):

 &preview=true only works if you are a logged-in user with permission to
 edit that post. If you are not logged in, it is impossible (without a
 plugin deliberately or accidentally making changes to a deep area of
 WP_Query) to view a non-published post.

 There's no information disclosure bug here. At most, that's a
 misunderstanding. The issue is purely canonically redirecting the link
 once the post is published, in case it is shared.

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


More information about the wp-trac mailing list