Changeset 52181 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 11/16/2021 02:56:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r52110 r52181 364 364 public static function theme_has_support() { 365 365 if ( ! isset( self::$theme_has_support ) ) { 366 self::$theme_has_support = is_readable( self::get_file_path_from_theme( 'theme.json' ) ); 366 self::$theme_has_support = ( 367 is_readable( self::get_file_path_from_theme( 'theme.json' ) ) || 368 is_readable( self::get_file_path_from_theme( 'theme.json', true ) ) 369 ); 367 370 } 368 371
Note: See TracChangeset
for help on using the changeset viewer.