mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +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. 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:
parent
88461977b1
commit
f08039702e
@ -948,10 +948,6 @@ function wp_get_active_and_valid_themes() {
|
|||||||
return $themes;
|
return $themes;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! wp_using_themes() ) {
|
|
||||||
return $themes;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( TEMPLATEPATH !== STYLESHEETPATH ) {
|
if ( TEMPLATEPATH !== STYLESHEETPATH ) {
|
||||||
$themes[] = STYLESHEETPATH;
|
$themes[] = STYLESHEETPATH;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user