WordPress.org

Make WordPress Core

Changeset 18741


Ignore:
Timestamp:
09/21/11 20:26:39 (6 years ago)
Author:
ryan
Message:

Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473

File:
1 edited

Legend:

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

    r18689 r18741  
    6262 
    6363    wp_set_auth_cookie($user->ID, $credentials['remember'], $secure_cookie); 
    64     do_action('wp_login', $credentials['user_login']); 
     64    do_action('wp_login', $user->user_login, $user); 
    6565    return $user; 
    6666} 
Note: See TracChangeset for help on using the changeset viewer.