Return the character range removed in [15594]. fixes #14633, props demetris.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-09-07 17:52:43 +00:00
parent d66295976c
commit 4e283a8047

View File

@ -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 lowercase letters and numbers are allowed.' ) );
$errors->add( 'user_name', __( 'Only lowercase letters (a-z) and numbers are allowed.' ) );
$user_name = $orig_username;
}