Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't run the ms site check during install.

  • Loading branch information...
commit eeea283241b257ecd7672a2c77bebb1162098631 1 parent 82f730a
@nacin nacin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  sunrise.php
View
2  sunrise.php
@@ -12,6 +12,8 @@
$current_blog->blog_id = $current_blog->site_id = $current_blog->public = 1;
$current_blog->archived = $current_blog->deleted = $current_blog->spam = 0;
+ add_filter( 'ms_site_check', '__return_true' );
+
if ( ! defined( 'WP_INSTALLING' ) ) {
// Okay, see if we can find the main site in the DB.
// If not, time for a new network install.
Please sign in to comment.
Something went wrong with that request. Please try again.