Make WordPress Core

Changeset 23412


Ignore:
Timestamp:
02/14/2013 05:36:28 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Remove unused error string. props pavelevap. fixes #22107.

Location:
trunk
Files:
2 edited

Legend:

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

    r22396 r23412  
    114114        // Adding a new user to this blog
    115115        $user_details = wpmu_validate_user_signup( $_REQUEST[ 'user_login' ], $_REQUEST[ 'email' ] );
    116         unset( $user_details[ 'errors' ]->errors[ 'user_email_used' ] );
    117116        if ( is_wp_error( $user_details[ 'errors' ] ) && !empty( $user_details[ 'errors' ]->errors ) ) {
    118117            $add_user_errors = $user_details[ 'errors' ];
  • trunk/wp-includes/ms-functions.php

    r23307 r23412  
    498498        else
    499499            $errors->add('user_name', __('That username is currently reserved but may be available in a couple of days.'));
    500 
    501         if ( $signup->active == 0 && $signup->user_email == $user_email )
    502             $errors->add('user_email_used', __('username and email used'));
    503500    }
    504501
Note: See TracChangeset for help on using the changeset viewer.