Ticket #39385: 39385.2.patch
File 39385.2.patch, 399 bytes (added by , 6 years ago) |
---|
-
wp-includes/user.php
diff --git wp-includes/user.php wp-includes/user.php index ef3bc57d..a4b6c509 100644
function wp_signon( $credentials = array(), $secure_cookie = '' ) { 98 98 } 99 99 100 100 wp_set_auth_cookie($user->ID, $credentials['remember'], $secure_cookie); 101 wp_set_current_user($user); 102 101 103 /** 102 104 * Fires after the user has successfully logged in. 103 105 *