Permalink
Browse files

Don't run the ms site check during install.

  • Loading branch information...
nacin committed Oct 15, 2012
1 parent 82f730a commit eeea283241b257ecd7672a2c77bebb1162098631
Showing with 2 additions and 0 deletions.
  1. +2 −0 sunrise.php
View
@@ -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.

0 comments on commit eeea283

Please sign in to comment.