WordPress.org

Make WordPress Core

Ticket #17085: 17085.diff

File 17085.diff, 411 bytes (added by scribu, 7 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', $credentials['user_login'], $user);
    6565        return $user;
    6666}
    6767