After [35718], update the location of some files in This filter is documented in docs.
Partially reverts [33954]. Fixes #33413. Built from https://develop.svn.wordpress.org/trunk@35725 git-svn-id: http://core.svn.wordpress.org/trunk@35689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -431,7 +431,7 @@ function wpmu_validate_user_signup($user_name, $user_email) {
|
||||
$errors->add( 'user_name', __( 'Sorry, that username is not allowed.' ) );
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-includes/user-functions.php */
|
||||
/** This filter is documented in wp-includes/user.php */
|
||||
$illegal_logins = (array) apply_filters( 'illegal_user_logins', array() );
|
||||
|
||||
if ( in_array( strtolower( $user_name ), array_map( 'strtolower', $illegal_logins ) ) ) {
|
||||
|
||||
Reference in New Issue
Block a user