OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f981c8
)
skip ms_site_check() when installing
author
scribu
<mail@scribu.net>
Tue, 16 Jul 2013 21:40:25 +0000
(
00:40
+0300)
committer
scribu
<mail@scribu.net>
Tue, 16 Jul 2013 21:40:47 +0000
(
00:40
+0300)
php/wp-settings-cli.php
patch
|
blob
|
history
diff --git
a/php/wp-settings-cli.php
b/php/wp-settings-cli.php
index
34cba93
..
b40e147
100644
(file)
--- a/
php/wp-settings-cli.php
+++ b/
php/wp-settings-cli.php
@@
-304,7
+304,8
@@
$wp->init();
do_action( 'init' );
// Check site status
-if ( is_multisite() ) {
+# if ( is_multisite() ) { // WP-CLI
+if ( is_multisite() && !defined('WP_INSTALLING') ) {
if ( true !== ( $file = ms_site_check() ) ) {
require( $file );
die();