Changeset 46804 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 11/29/2019 10:02:30 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r46640 r46804 194 194 $illegal_logins = (array) apply_filters( 'illegal_user_logins', array() ); 195 195 196 if ( in_array( strtolower( $user->user_login ), array_map( 'strtolower', $illegal_logins ) ) ) {196 if ( in_array( strtolower( $user->user_login ), array_map( 'strtolower', $illegal_logins ), true ) ) { 197 197 $errors->add( 'invalid_username', __( '<strong>ERROR</strong>: Sorry, that username is not allowed.' ) ); 198 198 }
Note: See TracChangeset
for help on using the changeset viewer.