WordPress.org

Make WordPress Core

Ticket #9302: profile_update_post.diff

File profile_update_post.diff, 373 bytes (added by Cimmo, 6 years ago)
  • user.

    old new  
    157157                        $errors->add( 'user_email', __( "<strong>ERROR</strong>: The e-mail address isn't correct." ), array( 'form-field' => 'email' ) ); 
    158158                } 
    159159 
     160        do_action('profile_update_post', $errors); 
     161 
    160162        if ( $errors->get_error_codes() ) 
    161163                return $errors; 
    162164