Changeset 35630
- Timestamp:
- 11/12/2015 04:33:48 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r35629 r35630 144 144 145 145 /** This filter is documented in wp-includes/user-functions.php */ 146 $illegal_logins = apply_filters( 'illegal_user_logins', array() );146 $illegal_logins = (array) apply_filters( 'illegal_user_logins', array() ); 147 147 148 148 if ( in_array( strtolower( $user->user_login ), array_map( 'strtolower', $illegal_logins ) ) ) { -
trunk/src/wp-includes/ms-functions.php
r35629 r35630 433 433 434 434 /** This filter is documented in wp-includes/user-functions.php */ 435 $illegal_logins = apply_filters( 'illegal_user_logins', array() );435 $illegal_logins = (array) apply_filters( 'illegal_user_logins', array() ); 436 436 437 437 if ( in_array( strtolower( $user_name ), array_map( 'strtolower', $illegal_logins ) ) ) { -
trunk/src/wp-includes/user-functions.php
r35629 r35630 1329 1329 * @param array $usernames Array of blacklisted usernames. 1330 1330 */ 1331 $illegal_logins = apply_filters( 'illegal_user_logins', array() );1331 $illegal_logins = (array) apply_filters( 'illegal_user_logins', array() ); 1332 1332 1333 1333 if ( in_array( strtolower( $user_login ), array_map( 'strtolower', $illegal_logins ) ) ) {
Note: See TracChangeset
for help on using the changeset viewer.