Skip to content

Commit

Permalink
Merge pull request #72 from humanmade/backport-71-to-v3-branch
Browse files Browse the repository at this point in the history
[Backport v3-branch] Fix fatal error on multisite convert
  • Loading branch information
roborourke authored Jul 9, 2020
2 parents 6116609 + e19b8cc commit 85d140c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ function is_site_public() : bool {
return true;
}

if ( defined( 'WP_INITIAL_INSTALL' ) && WP_INITIAL_INSTALL ) {
return true;
}

// Allow overrides from composer.json.
$config = get_config()['modules']['security'];
if ( $config['require-login'] ) {
Expand Down

0 comments on commit 85d140c

Please sign in to comment.