Changeset 44918
- Timestamp:
- 03/16/2019 03:21:25 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r44906 r44918 96 96 97 97 if ( is_wp_error( $user ) ) { 98 if ( $user->get_error_codes() == array( 'empty_username', 'empty_password' ) ) {99 $user = new WP_Error( '', '' );100 }101 102 98 return $user; 103 99 } -
trunk/src/wp-login.php
r44899 r44918 1008 1008 } 1009 1009 1010 if ( empty( $_POST ) && $errors->get_error_codes() === array( 'empty_username', 'empty_password' ) ) { 1011 $errors = new WP_Error( '', '' ); 1012 } 1013 1010 1014 if ( $interim_login ) { 1011 1015 if ( ! $errors->has_errors() ) {
Note: See TracChangeset
for help on using the changeset viewer.