From 4839f01305e2ca5953bbb64ce8daeda3750bb290 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 23 Aug 2013 22:59:09 +0000 Subject: [PATCH] Have wp-signup.php match the proper default for the 'registration' network option. props wpmuguru. fixes #18186. git-svn-id: https://develop.svn.wordpress.org/trunk@25112 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-signup.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wp-signup.php b/src/wp-signup.php index 9dd2c3da95..df163a7ae4 100644 --- a/src/wp-signup.php +++ b/src/wp-signup.php @@ -511,10 +511,7 @@ function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $use } // Main -$active_signup = get_site_option( 'registration' ); -if ( !$active_signup ) - $active_signup = 'all'; - +$active_signup = get_site_option( 'registration', 'none' ); $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user" // Make the signup type translatable.