Make WordPress Core

Changeset 12266


Ignore:
Timestamp:
11/23/2009 06:51:14 PM (15 years ago)
Author:
ryan
Message:

Pass user_login and user_email to registration_errors. Props nacin. fixes #11237

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r12021 r12266  
    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() )
Note: See TracChangeset for help on using the changeset viewer.