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