Changeset 46804 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 11/29/2019 10:02:30 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r46697 r46804 489 489 $illegal_logins = (array) apply_filters( 'illegal_user_logins', array() ); 490 490 491 if ( in_array( strtolower( $user_name ), array_map( 'strtolower', $illegal_logins ) ) ) {491 if ( in_array( strtolower( $user_name ), array_map( 'strtolower', $illegal_logins ), true ) ) { 492 492 $errors->add( 'user_name', __( 'Sorry, that username is not allowed.' ) ); 493 493 }
Note: See TracChangeset
for help on using the changeset viewer.