Changeset 25198 for branches/3.6/wp-includes/ms-functions.php
- Timestamp:
- 08/31/2013 04:36:11 AM (11 years ago)
- Location:
- branches/3.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.6
- Property svn:mergeinfo changed
/trunk/src merged: 25197
- Property svn:mergeinfo changed
-
branches/3.6/wp-includes/ms-functions.php
r25184 r25198 379 379 380 380 if ( $banned_names && is_array( $banned_names ) ) { 381 list( $email_local_part, $email_domain ) = explode( '@', $user_email ); 381 $banned_names = array_map( 'strtolower', $banned_names ); 382 $normalized_email = strtolower( $user_email ); 383 384 list( $email_local_part, $email_domain ) = explode( '@', $normalized_email ); 382 385 383 386 foreach ( $banned_names as $banned_domain ) { … … 391 394 392 395 $dotted_domain = ".$banned_domain"; 393 if ( $dotted_domain === substr( $ user_email, -strlen( $dotted_domain ) ) ) {396 if ( $dotted_domain === substr( $normalized_email, -strlen( $dotted_domain ) ) ) { 394 397 $is_email_address_unsafe = true; 395 398 break;
Note: See TracChangeset
for help on using the changeset viewer.