Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740

git-svn-id: https://develop.svn.wordpress.org/trunk@11905 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-09-08 15:25:29 +00:00
parent eac87a3f7d
commit bb81b561bd
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ function auth_redirect() {
}
}
if ( $user_id = wp_validate_auth_cookie() ) {
if ( $user_id = wp_validate_auth_cookie( '', apply_filters( 'auth_redirect_scheme', '' ) ) ) {
do_action('auth_redirect', $user_id);
// If the user wants ssl but the session is not ssl, redirect.