Skip to content

Commit

Permalink
Have wp-signup.php match the proper default for the 'registration' ne…
Browse files Browse the repository at this point in the history
…twork 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
  • Loading branch information
nacin committed Aug 23, 2013
1 parent 9ccc275 commit 656139c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions wp-signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 656139c

Please sign in to comment.