WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/05/2012 07:04:34 PM (8 years ago)
Author:
ryan
Message:

Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r21798 r22124  
    145145        $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an e-mail address.' ), array( 'form-field' => 'email' ) );
    146146    } elseif ( !is_email( $user->user_email ) ) {
    147         $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The e-mail address isn&#8217;t correct.' ), array( 'form-field' => 'email' ) );
     147        $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ), array( 'form-field' => 'email' ) );
    148148    } elseif ( ( $owner_id = email_exists($user->user_email) ) && ( !$update || ( $owner_id != $user->ID ) ) ) {
    149149        $errors->add( 'email_exists', __('<strong>ERROR</strong>: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) );
Note: See TracChangeset for help on using the changeset viewer.