WordPress.org

Make WordPress Core

Ticket #9302: patch_ticket9302_v3.diff

File patch_ticket9302_v3.diff, 488 bytes (added by Cimmo, 6 years ago)

Ok this is the correct patch against WordPress 2.8 beta1 that I propose

  • user.php

    old new  
    178178                $errors->add( 'email_exists', __('<strong>ERROR</strong>: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) ); 
    179179        } 
    180180 
    181         do_action('user_profile_update_errors', $errors); 
     181        do_action('user_profile_update_errors', $user->user_login, $user->user_email, $errors); 
    182182 
    183183        if ( $errors->get_error_codes() ) 
    184184                return $errors;