From bba5e09b61df392baca0d4cc9e95408fb41d4729 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 13 Feb 2008 18:42:07 +0000 Subject: [PATCH] Pass login, email, and errors to register_post action. fixes #5763 git-svn-id: https://develop.svn.wordpress.org/trunk@6821 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-login.php b/wp-login.php index 5324eb0171..f8fd4f63c9 100644 --- a/wp-login.php +++ b/wp-login.php @@ -151,7 +151,7 @@ function register_new_user($user_login, $user_email) { } elseif ( email_exists( $user_email ) ) $errors->add('email_exists', __('ERROR: This email is already registered, please choose another one.')); - do_action('register_post'); + do_action('register_post', $user_login, $user_email, $errors); $errors = apply_filters( 'registration_errors', $errors );