From 656139c09e0c1a8c36cfa1822ba92eafec1eff31 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 23 Aug 2013 23:00:09 +0000 Subject: [PATCH] Have wp-signup.php match the proper default for the 'registration' network option. props wpmuguru. fixes #18186. Built from https://develop.svn.wordpress.org/trunk@25112 git-svn-id: http://core.svn.wordpress.org/trunk@25093 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-signup.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-signup.php b/wp-signup.php index 9dd2c3da95..df163a7ae4 100644 --- a/wp-signup.php +++ b/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.