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
This commit is contained in:
parent
9ccc275d88
commit
656139c09e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue