Make WordPress Core


Ignore:
Timestamp:
03/02/2009 10:25:55 PM (15 years ago)
Author:
ryan
Message:

Fix wp_authenticate_user hook

File:
1 edited

Legend:

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

    r10595 r10683  
    9090    }
    9191
    92     $user = apply_filters('wp_authenticate_user', $user, $password);
    93     if ( is_wp_error($user) ) {
    94         return $user;
     92    $userdata = apply_filters('wp_authenticate_user', $userdata, $password);
     93    if ( is_wp_error($userdata) ) {
     94        return $userdata;
    9595    }
    9696
Note: See TracChangeset for help on using the changeset viewer.