From 111e8d9f3b2b7f6d8dadc4a05c67398a4cd7565c Mon Sep 17 00:00:00 2001 From: Luigi Date: Fri, 17 Dec 2021 16:39:33 +0100 Subject: [PATCH] Revert theme name #5411 Revert theme name #5411 --- src/Utils/BlockTemplateUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/BlockTemplateUtils.php b/src/Utils/BlockTemplateUtils.php index 8b2e8eb4b6e..f05025cf8fc 100644 --- a/src/Utils/BlockTemplateUtils.php +++ b/src/Utils/BlockTemplateUtils.php @@ -138,7 +138,7 @@ public static function gutenberg_build_template_result_from_file( $template_file $template_content = file_get_contents( $template_file->path ); $template = new \WP_Block_Template(); $template->id = 'woocommerce//' . $template_file->slug; - $template->theme = 'woocommerce/woocommerce'; + $template->theme = 'WooCommerce'; $template->content = self::gutenberg_inject_theme_attribute_in_content( $template_content ); $template->source = 'plugin'; $template->slug = $template_file->slug;