Speak in full, clear sentences. props mrmist, fixes #14633.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1dee100f3a
commit
d66295976c
|
@ -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