Make WordPress Core

Ticket #15473: 15473.patch

File 15473.patch, 407 bytes (added by SergeyBiryukov, 13 years ago)
  • wp-includes/user.php

     
    6161        }
    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}
    6767