summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-23 08:30:45 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-23 08:30:45 +0000
commitbd6e6a837a855cf96f97a76159b3324192abb6fc (patch)
tree39af82e8b4e137d76d349475f375e3024a7c2570 /wp-signup.php
parent1aa677d9a12d74ae0b531e508486af1ad1d7ee14 (diff)
downloadwordpress-mu-bd6e6a837a855cf96f97a76159b3324192abb6fc.zip
wordpress-mu-bd6e6a837a855cf96f97a76159b3324192abb6fc.tar.gz
wordpress-mu-bd6e6a837a855cf96f97a76159b3324192abb6fc.tar.xz
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
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php4
1 files changed, 0 insertions, 4 deletions
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