Ticket #39915: 39915-email-unsafe.diff
File 39915-email-unsafe.diff, 538 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/ms-functions.php
354 354 355 355 $is_email_address_unsafe = false; 356 356 357 if ( $banned_names && is_array( $banned_names ) ) {357 if ( $banned_names && is_array( $banned_names ) && false !== strpos( $user_email, '@', 1 ) ) { 358 358 $banned_names = array_map( 'strtolower', $banned_names ); 359 359 $normalized_email = strtolower( $user_email ); 360 360