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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-09-08 15:25:29 +00:00
parent e8c32c03b0
commit c6debbd596
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.