WordPress.org

Make WordPress Core

Changeset 11905


Ignore:
Timestamp:
09/08/2009 03:25:29 PM (9 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r11741 r11905  
    751751    }
    752752
    753     if ( $user_id = wp_validate_auth_cookie() ) {
     753    if ( $user_id = wp_validate_auth_cookie( '', apply_filters( 'auth_redirect_scheme', '' ) ) ) {
    754754        do_action('auth_redirect', $user_id);
    755755
Note: See TracChangeset for help on using the changeset viewer.