[wp-trac] Re: [WordPress Trac] #7002: Can't control where a user
redirects to when they log in
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 26 17:43:54 GMT 2008
#7002: Can't control where a user redirects to when they log in
-------------------------------------+--------------------------------------
Reporter: AaronCampbell | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.6.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by AaronCampbell):
That's fine. I don't think we really need to pass
`$_REQUEST['redirect_to']` since the only difference would be https vs
http right? I would be ok with this:
{{{$redirect_to = apply_filters('login_redirect', $redirect_to, $user);}}}
However, extra data doesn't hurt I suppose. Also, in the 2.6 branch if
`$_REQUEST['redirect_to']` is set then `$_REQUEST['redirect_to']` and
`$redirect_to` are identical.
--
Ticket URL: <http://trac.wordpress.org/ticket/7002#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list