diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index 34d3ab9fcf..ea9e5e677f 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -363,7 +363,7 @@ class WP_Theme_JSON_Resolver { */ public static function theme_has_support() { if ( ! isset( self::$theme_has_support ) ) { - self::$theme_has_support = is_readable( get_theme_file_path( 'theme.json' ) ); + self::$theme_has_support = is_readable( self::get_file_path_from_theme( 'theme.json' ) ); } return self::$theme_has_support; diff --git a/wp-includes/version.php b/wp-includes/version.php index fa1861e3c0..40ec4eb5af 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52076'; +$wp_version = '5.9-alpha-52077'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.