diff --git a/src/wp-includes/class-wp-theme-json-resolver.php b/src/wp-includes/class-wp-theme-json-resolver.php index 16680e7317..a92f5c1e09 100644 --- a/src/wp-includes/class-wp-theme-json-resolver.php +++ b/src/wp-includes/class-wp-theme-json-resolver.php @@ -135,8 +135,8 @@ class WP_Theme_JSON_Resolver { return static::$core; } - $config = static::read_json_file( __DIR__ . '/theme.json' ); - $config = static::translate( $config ); + $config = static::read_json_file( __DIR__ . '/theme.json' ); + $config = static::translate( $config ); /** * Filters the default data provided by WordPress for global styles & settings. *