You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/wp-includes/user.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3544,7 +3544,7 @@ function register_new_user( $user_login, $user_email ) {
3544
3544
if ( '' === $sanitized_user_login ) {
3545
3545
$errors->add( 'empty_username', __( '<strong>Error:</strong> Please enter a username.' ) );
3546
3546
} elseif ( ! validate_username( $user_login ) ) {
3547
-
$errors->add( 'invalid_username', __( '<strong>Error:</strong> This username is invalid because it uses illegal characters. Please enter a valid username.' ) );
3547
+
$errors->add( 'invalid_username', __( '<strong>Error:</strong> This username is invalid because it uses disallowed characters. Please enter a valid username.' ) );
0 commit comments