Ticket #26784: 26784-01.patch
File 26784-01.patch, 639 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/ms-functions.php
485 485 if ( strlen( $user_name ) < 4 ) 486 486 $errors->add('user_name', __( 'Username must be at least 4 characters.' ) ); 487 487 488 if ( strlen( $user_name ) > 60 ) { 489 $errors->add( 'user_name', __( 'Username cannot be longer than 60 characters.' ) ); 490 } 491 488 492 if ( strpos( ' ' . $user_name, '_' ) != false ) 489 493 $errors->add( 'user_name', __( 'Sorry, usernames may not contain the character “_”!' ) ); 490 494