Ticket #26156: schema.email.diff
File schema.email.diff, 528 bytes (added by , 11 years ago) |
---|
-
wp-admin/includes/schema.php
868 868 869 869 $site_user = get_user_by( 'email', $email ); 870 870 if ( ! is_email( $email ) ) 871 $errors->add( 'invalid_email', __( 'You must provide a valid e -mail address.' ) );871 $errors->add( 'invalid_email', __( 'You must provide a valid email address.' ) ); 872 872 873 873 if ( $errors->get_error_code() ) 874 874 return $errors;