Make WordPress Core


Ignore:
Timestamp:
06/07/2023 08:27:17 PM (18 months ago)
Author:
danielbachhuber
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r55890 r55891  
    949949    }
    950950
    951     if ( ! wp_using_themes() ) {
    952         return $themes;
    953     }
    954 
    955951    if ( TEMPLATEPATH !== STYLESHEETPATH ) {
    956952        $themes[] = STYLESHEETPATH;
Note: See TracChangeset for help on using the changeset viewer.