Ticket #9302: patch_ticket9302_v3.diff
File patch_ticket9302_v3.diff, 488 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->user_login, $user->user_email, $errors); 182 182 183 183 if ( $errors->get_error_codes() ) 184 184 return $errors;