Changeset 42858 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 03/20/2018 07:06:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r42827 r42858 498 498 $limited_email_domains = get_site_option( 'limited_email_domains' ); 499 499 if ( is_array( $limited_email_domains ) && ! empty( $limited_email_domains ) ) { 500 $emaildomain = substr( $user_email, 1 + strpos( $user_email, '@' ) ); 501 if ( ! in_array( $emaildomain, $limited_email_domains ) ) { 500 $limited_email_domains = array_map( 'strtolower', $limited_email_domains ); 501 $emaildomain = strtolower( substr( $user_email, 1 + strpos( $user_email, '@' ) ) ); 502 if ( ! in_array( $emaildomain, $limited_email_domains, true ) ) { 502 503 $errors->add( 'user_email', __( 'Sorry, that email address is not allowed!' ) ); 503 504 }
Note: See TracChangeset
for help on using the changeset viewer.