WordPress.org

Make WordPress Core

Ticket #9302: patch_ticket9302_v2.diff

File patch_ticket9302_v2.diff, 476 bytes (added by Cimmo, 5 years ago)

Patch v2 against WordPress 2.8 beta1

  • 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_login, $user_email, $errors); 
    182182 
    183183        if ( $errors->get_error_codes() ) 
    184184                return $errors;