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-includes/user.php

    r21995 r22124  
    13061306
    13071307    if ( !$update && username_exists( $user_login ) )
    1308         return new WP_Error('existing_user_login', __('This username is already registered.') );
     1308        return new WP_Error( 'existing_user_login', __( 'Sorry, that username already exists!' ) );
    13091309
    13101310    if ( empty($user_nicename) )
     
    13211321
    13221322    if ( !$update && ! defined( 'WP_IMPORTING' ) && email_exists($user_email) )
    1323         return new WP_Error('existing_user_email', __('This email address is already registered.') );
     1323        return new WP_Error( 'existing_user_email', __( 'Sorry, that email address is already used!' ) );
    13241324
    13251325    if ( empty($nickname) )
Note: See TracChangeset for help on using the changeset viewer.