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.

Built from https://develop.svn.wordpress.org/trunk@55891


git-svn-id: http://core.svn.wordpress.org/trunk@55403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
danielbachhuber 2023-06-07 20:29:19 +00:00
parent 88461977b1
commit f08039702e
2 changed files with 1 additions and 5 deletions

View File

@ -948,10 +948,6 @@ function wp_get_active_and_valid_themes() {
return $themes;
}
if ( ! wp_using_themes() ) {
return $themes;
}
if ( TEMPLATEPATH !== STYLESHEETPATH ) {
$themes[] = STYLESHEETPATH;
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55890';
$wp_version = '6.3-alpha-55891';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.