Skip to content

Commit fb6fda3

Browse files
committed
Multisite: Enforce the active signup policy for existing users.
Props johnbillion, jeremyfelt. git-svn-id: https://develop.svn.wordpress.org/trunk@63064 602fd350-edb4-49c9-b593-d223f7449a82
1 parent db313f9 commit fb6fda3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/wp-signup.php‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,11 @@ function signup_get_available_languages() {
10021002
}
10031003
break;
10041004
case 'gimmeanotherblog':
1005-
validate_another_blog_signup();
1005+
if ( 'all' === $active_signup || 'blog' === $active_signup ) {
1006+
validate_another_blog_signup();
1007+
} else {
1008+
_e( 'Site registration has been disabled.' );
1009+
}
10061010
break;
10071011
case 'default':
10081012
default:

0 commit comments

Comments
 (0)