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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-23 18:51:14 +00:00
parent a03752fdb4
commit edd5d4d608
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ function register_new_user($user_login, $user_email) {
do_action('register_post', $user_login, $user_email, $errors); do_action('register_post', $user_login, $user_email, $errors);
$errors = apply_filters( 'registration_errors', $errors ); $errors = apply_filters( 'registration_errors', $errors, $user_login, $user_email );
if ( $errors->get_error_code() ) if ( $errors->get_error_code() )
return $errors; return $errors;