[wp-trac] [WordPress Trac] #16482: Visibility: password-protected breaks with redirected domains

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 25 17:30:31 UTC 2011


#16482: Visibility: password-protected breaks with redirected domains
--------------------------+------------------------------
 Reporter:  monkeyhouse   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0.4
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by duck_):

 * keywords:  needs-patch => has-patch


Comment:

 Replying to [comment:3 dd32]:
 > Ideally, the best way to do this would be to POST the post_id along to
 wp-pass.php as well, and redirect to `get_permalink($post_id);`

 Taken a slightly different approach by forcing _wp_http_referer to be the
 permalink. Was unable to quickly reproduce the problem for testing, but
 this should work.

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


More information about the wp-trac mailing list