Skip to content

Commit

Permalink
Merge pull request #73 from humanmade/backport-71-to-v4-branch
Browse files Browse the repository at this point in the history
[Backport v4-branch] Fix fatal error on multisite convert
  • Loading branch information
roborourke authored Jul 9, 2020
2 parents 503e87e + 7477601 commit 2bb5af9
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 @@ -74,6 +74,10 @@ function is_site_public() : bool {
return true;
}

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

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

0 comments on commit 2bb5af9

Please sign in to comment.