From 7821c5767bbd056a8d15eb39c56ee6057da60d1c Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Thu, 3 Nov 2022 13:18:54 +0100 Subject: [PATCH] Use current namespace for Woo store API checkout schema class The new namespace is supported from WooCommerce 6.4.0 so we don't need to support the old namespace any more. Some users reported issues with BC class aliases provided by Woo. [MAILPOET-4774] --- mailpoet/lib/PostEditorBlocks/WooCommerceBlocksIntegration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailpoet/lib/PostEditorBlocks/WooCommerceBlocksIntegration.php b/mailpoet/lib/PostEditorBlocks/WooCommerceBlocksIntegration.php index 38d6cca121..40aa2e413d 100644 --- a/mailpoet/lib/PostEditorBlocks/WooCommerceBlocksIntegration.php +++ b/mailpoet/lib/PostEditorBlocks/WooCommerceBlocksIntegration.php @@ -4,8 +4,8 @@ namespace MailPoet\PostEditorBlocks; use Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi; use Automattic\WooCommerce\Blocks\Package; -use Automattic\WooCommerce\Blocks\StoreApi\Schemas\CheckoutSchema; use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema; +use Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema; use Automattic\WooCommerce\StoreApi\StoreApi; use MailPoet\Config\Env; use MailPoet\Entities\SubscriberEntity;