From bd6e6a837a855cf96f97a76159b3324192abb6fc Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 23 Oct 2008 08:30:45 +0000 Subject: Revert last change, there are validate hooks in wpmu-functions.php, see #776 git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1506 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-signup.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'wp-signup.php') diff --git a/wp-signup.php b/wp-signup.php index 4deafcb..602fa61 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -386,16 +386,12 @@ if( $active_signup == "none" ) { switch ($_POST['stage']) { case 'validate-user-signup' : - do_action( "validate_user_signup" ); - if( $active_signup == 'all' || $_POST[ 'signup_for' ] == 'blog' && $active_signup == 'blog' || $_POST[ 'signup_for' ] == 'user' && $active_signup == 'user' ) validate_user_signup(); else _e( "User registration has been disabled." ); break; case 'validate-blog-signup': - do_action( "validate_blog_signup" ); - if( $active_signup == 'all' || $active_signup == 'blog' ) validate_blog_signup(); else -- cgit