mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Bootstrap/Load: Revert [55890].
As it turns out, WP-CLI *also* doesn't `define( 'WP_USE_THEMES', true );`, which means an active theme's `functions.php` isn't loaded by default and causes a backwards compatibility break. See #57928. git-svn-id: https://develop.svn.wordpress.org/trunk@55891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -252,7 +252,6 @@ $phpmailer = new MockPHPMailer( true );
|
||||
if ( ! defined( 'WP_DEFAULT_THEME' ) ) {
|
||||
define( 'WP_DEFAULT_THEME', 'default' );
|
||||
}
|
||||
define( 'WP_USE_THEMES', true );
|
||||
$wp_theme_directories = array();
|
||||
|
||||
if ( file_exists( DIR_TESTDATA . '/themedir1' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user