diff --git a/lib/class-wp-theme-json-resolver.php b/lib/class-wp-theme-json-resolver.php index 022bb2e9966137..1f4cb222b00985 100644 --- a/lib/class-wp-theme-json-resolver.php +++ b/lib/class-wp-theme-json-resolver.php @@ -267,7 +267,7 @@ private static function get_core_origin() { */ private function get_theme_origin( $theme_support_data = array() ) { $theme_json_data = self::get_from_file( locate_template( 'experimental-theme.json' ) ); - self::apply_theme_json_translations( $theme_json_data, wp_get_theme()->get_stylesheet() ); + self::apply_theme_json_translations( $theme_json_data, wp_get_theme()->get( 'TextDomain' ) ); /* * We want the presets and settings declared in theme.json