From c2302a2bafa03b0d3f2afd24524f6f92855aabef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com> Date: Mon, 20 Mar 2023 11:56:28 +0100 Subject: [PATCH] Duotone: use WP_Theme_JSON_Resolver_Gutenberg instead of WP_Theme_JSON_Resolver --- lib/class-wp-duotone-gutenberg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-wp-duotone-gutenberg.php b/lib/class-wp-duotone-gutenberg.php index 29e19a93ad0ae7..3544f580367101 100644 --- a/lib/class-wp-duotone-gutenberg.php +++ b/lib/class-wp-duotone-gutenberg.php @@ -97,7 +97,7 @@ public static function set_global_styles_presets() { */ public static function set_global_style_block_names() { // Get the per block settings from the theme.json. - $tree = WP_Theme_JSON_Resolver::get_merged_data(); + $tree = WP_Theme_JSON_Resolver_Gutenberg::get_merged_data(); $block_nodes = $tree->get_styles_block_nodes(); $theme_json = $tree->get_raw_data();