[wp-trac] [WordPress Trac] #16482: Visibility: password-protected breaks with redirected domains
WordPress Trac
noreply at wordpress.org
Sat Feb 1 06:42:48 UTC 2014
#16482: Visibility: password-protected breaks with redirected domains
------------------------------------+--------------------
Reporter: monkeyhouse | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Login and Registration | Version: 3.0.4
Severity: minor | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
------------------------------------+--------------------
Changes (by nacin):
* component: Template => Login and Registration
Comment:
Replying to [comment:4 duck_]:
> 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: <https://core.trac.wordpress.org/ticket/16482#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list