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
This commit is contained in:
Andrew Nacin 2013-08-23 22:59:09 +00:00
parent dc9bd8db8a
commit 4839f01305
1 changed files with 1 additions and 4 deletions

View File

@ -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.