Ticket #19714: 19714.diff
File 19714.diff, 402 bytes (added by , 11 years ago) |
---|
-
wp-includes/user.php
73 73 if ( is_a($user, 'WP_User') ) { return $user; } 74 74 75 75 if ( empty($username) || empty($password) ) { 76 if ( is_wp_error($user) ) 77 return $user; 78 76 79 $error = new WP_Error(); 77 80 78 81 if ( empty($username) )