summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-20 18:49:55 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-20 18:49:55 +0000
commitf8c9fc6a4d3d957b91ca6bbd5727abf6a29ae954 (patch)
tree7f5816aece87aa51b7b39beedba3bf0c0ae91b15 /wp-signup.php
parent41c576d1bdf02cb82aafcdeeaf3481f736a54ecf (diff)
downloadwordpress-mu-f8c9fc6a4d3d957b91ca6bbd5727abf6a29ae954.zip
wordpress-mu-f8c9fc6a4d3d957b91ca6bbd5727abf6a29ae954.tar.gz
wordpress-mu-f8c9fc6a4d3d957b91ca6bbd5727abf6a29ae954.tar.xz
Pass the $error object to extra fields action
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@926 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-signup.php b/wp-signup.php
index bc26e96..352ad9e 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -126,7 +126,7 @@ function show_user_form($user_name = '', $user_email = '', $errors = '') {
<?php
if ( $errmsg = $errors->get_error_message('generic') )
print '<tr class="error"> <th colspan="2">'.$errmsg.'</th> </tr>';
- do_action( 'signup_extra_fields' );
+ do_action( 'signup_extra_fields', $errors );
}
function validate_user_form() {