Ticket #15473: 15473.diff
File 15473.diff, 506 bytes (added by , 14 years ago) |
---|
-
wp-includes/user.php
59 59 } 60 60 61 61 wp_set_auth_cookie($user->ID, $credentials['remember'], $secure_cookie); 62 do_action('wp_login', $credentials['user_login']); 62 if ( is_a ($user, 'WP_User') ) { 63 do_action('wp_login', $user->user_login); 64 } else { 65 do_action('wp_login', $credentials['user_login']); 66 } 63 67 return $user; 64 68 } 65 69