Changes between Version 1 and Version 2 of Ticket #42985, comment 2
- Timestamp:
- 12/29/2017 11:24:26 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42985, comment 2
v1 v2 1 Within {{{wp_signon()}}}we have this part:1 Within the {{{wp_signon()}}} function, we have this part: 2 2 3 3 … … 17 17 [https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/user.php#L90 Source] 18 18 19 If the username and password fields are both empty, then the corresponding error is overridden with {{{$user = new WP_Error( '', '' );}}}. That means no errors show sup for the login form.19 If the username and password fields are both empty, then the corresponding error is overridden with {{{$user = new WP_Error( '', '' );}}}. That means no errors show up for the login form. 20 20 21 21 If that would not be the case then we would get the login form shaking and the corresponding error messages. See [attachment:empty_username_password_errors.JPG]