Changeset 56073 for trunk/src/wp-includes/global-styles-and-settings.php
- Timestamp:
- 06/27/2023 05:10:28 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/global-styles-and-settings.php
r56058 r56073 409 409 410 410 // Does the theme have its own theme.json? 411 $theme_has_support = is_readable( get_stylesheet_directory() . '/theme.json' ); 412 413 // Look up the parent if the child does not have a theme.json. 414 if ( ! $theme_has_support ) { 415 $theme_has_support = is_readable( get_template_directory() . '/theme.json' ); 416 } 411 $theme_has_support = is_readable( get_theme_file_path( 'theme.json' ) ); 417 412 418 413 return $theme_has_support;
Note: See TracChangeset
for help on using the changeset viewer.