WordPress.org

Make WordPress Core

Ticket #11237: wp_login.diff

File wp_login.diff, 447 bytes (added by nacin, 4 years ago)
  • wp-login.php

     
    258258 
    259259        do_action('register_post', $user_login, $user_email, $errors); 
    260260 
    261         $errors = apply_filters( 'registration_errors', $errors ); 
     261        $errors = apply_filters( 'registration_errors', $errors, $user_login, $user_email ); 
    262262 
    263263        if ( $errors->get_error_code() ) 
    264264                return $errors;