From f4c64707ec966f1bca95005c764bd0fcea51128f Mon Sep 17 00:00:00 2001 From: Bryan Elliott Date: Fri, 20 Dec 2024 16:28:54 -0500 Subject: [PATCH] Class Protect, make extend from Hybrid_Product, because can use either the standalone or Jetpack plugin. --- projects/packages/my-jetpack/src/products/class-protect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/packages/my-jetpack/src/products/class-protect.php b/projects/packages/my-jetpack/src/products/class-protect.php index ce90c19cc0401..3e1f8e30ca829 100644 --- a/projects/packages/my-jetpack/src/products/class-protect.php +++ b/projects/packages/my-jetpack/src/products/class-protect.php @@ -8,7 +8,7 @@ namespace Automattic\Jetpack\My_Jetpack\Products; use Automattic\Jetpack\Connection\Client; -use Automattic\Jetpack\My_Jetpack\Product; +use Automattic\Jetpack\My_Jetpack\Hybrid_Product; use Automattic\Jetpack\My_Jetpack\Wpcom_Products; use Jetpack_Options; use WP_Error; @@ -16,7 +16,7 @@ /** * Class responsible for handling the Protect product */ -class Protect extends Product { +class Protect extends Hybrid_Product { const FREE_TIER_SLUG = 'free'; const UPGRADED_TIER_SLUG = 'upgraded';