Ticket #9302: patch_ticket9302_v2.diff
File patch_ticket9302_v2.diff, 476 bytes (added by , 15 years ago) |
---|
-
user.php
old new 178 178 $errors->add( 'email_exists', __('<strong>ERROR</strong>: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) ); 179 179 } 180 180 181 do_action('user_profile_update_errors', $ errors);181 do_action('user_profile_update_errors', $user_login, $user_email, $errors); 182 182 183 183 if ( $errors->get_error_codes() ) 184 184 return $errors;