From 487aa2bd785cd88fb36650e48adcd044e6213f9e Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@6821 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-login.php b/wp-login.php index 5324eb017..f8fd4f63c 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 );