Make WordPress Core

Ticket #26156: schema.email.diff

File schema.email.diff, 528 bytes (added by morganestes, 11 years ago)

wp-admin/includes/schema.php

  • wp-admin/includes/schema.php

     
    868868
    869869        $site_user = get_user_by( 'email', $email );
    870870        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.' ) );
    872872
    873873        if ( $errors->get_error_code() )
    874874                return $errors;