Make WordPress Core


Ignore:
Timestamp:
01/06/2011 04:08:23 AM (14 years ago)
Author:
ryan
Message:

Add some cookie filters to allow plugins more control over SSL cookie delivery. see #15330

File:
1 edited

Legend:

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

    r17198 r17227  
    4343    if ( '' === $secure_cookie )
    4444        $secure_cookie = is_ssl();
     45
     46    $secure_cookie = apply_filters('secure_signon_cookie', $secure_cookie, $credentials);
    4547
    4648    global $auth_secure_cookie; // XXX ugly hack to pass this to wp_authenticate_cookie
Note: See TracChangeset for help on using the changeset viewer.