Skip to content

Commit f7f6e82

Browse files
nacinrdworth
authored andcommitted
Don't run the ms site check during install.
(cherry picked from commit eeea283)
1 parent 4aa505a commit f7f6e82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sunrise.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
$current_blog->blog_id = $current_blog->site_id = $current_blog->public = 1;
1313
$current_blog->archived = $current_blog->deleted = $current_blog->spam = 0;
1414

15+
add_filter( 'ms_site_check', '__return_true' );
16+
1517
if ( ! defined( 'WP_INSTALLING' ) ) {
1618
// Okay, see if we can find the main site in the DB.
1719
// If not, time for a new network install.

0 commit comments

Comments
 (0)