Bring back define( 'WP_INSTALLING', true );
in phpunit/includes/install.php
, which was removed in [28965]. tl;dr = wp-cli. Unit tests still pass in multisite because of the skips I added.
Fixes #28738, #28706. git-svn-id: https://develop.svn.wordpress.org/trunk@28988 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f8b878f8da
commit
3708cdc7c2
@ -9,6 +9,7 @@ error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
|
|||||||
$config_file_path = $argv[1];
|
$config_file_path = $argv[1];
|
||||||
$multisite = ! empty( $argv[2] );
|
$multisite = ! empty( $argv[2] );
|
||||||
|
|
||||||
|
define( 'WP_INSTALLING', true );
|
||||||
require_once $config_file_path;
|
require_once $config_file_path;
|
||||||
require_once dirname( __FILE__ ) . '/functions.php';
|
require_once dirname( __FILE__ ) . '/functions.php';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user