Ticket #47003: 47003.patch
File 47003.patch, 664 bytes (added by , 6 years ago) |
---|
-
wp-includes/user.php
2446 2446 /** This filter is documented in wp-includes/user.php */ 2447 2447 $illegal_user_logins = array_map( 'strtolower', (array) apply_filters( 'illegal_user_logins', array() ) ); 2448 2448 if ( in_array( strtolower( $sanitized_user_login ), $illegal_user_logins ) ) { 2449 $errors->add( 'invalid_username', __( ' <strong>ERROR</strong>:Sorry, that username is not allowed.' ) );2449 $errors->add( 'invalid_username', __( 'Sorry, that username is not allowed.' ) ); 2450 2450 } 2451 2451 } 2452 2452