Speak in full, clear sentences. props mrmist, fixes #14633.
git-svn-id: https://develop.svn.wordpress.org/trunk@15594 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
39819adc3b
commit
50194d0c51
@ -423,7 +423,7 @@ function wpmu_validate_user_signup($user_name, $user_email) {
|
||||
preg_match( '/[a-z0-9]+/', $user_name, $maybe );
|
||||
|
||||
if ( $user_name != $orig_username || $user_name != $maybe[0] ) {
|
||||
$errors->add( 'user_name', __( "Only the lowercase letters a-z and numbers allowed" ) );
|
||||
$errors->add( 'user_name', __( 'Only lowercase letters and numbers are allowed.' ) );
|
||||
$user_name = $orig_username;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user