diff --git a/classes/Visualizer/Module/Admin.php b/classes/Visualizer/Module/Admin.php index e7ef36e5..6cd32d6f 100644 --- a/classes/Visualizer/Module/Admin.php +++ b/classes/Visualizer/Module/Admin.php @@ -1609,7 +1609,7 @@ public function add_black_friday_data( $configs ) { $pro_product_slug = defined( 'VISUALIZER_PRO_BASEFILE' ) ? basename( dirname( VISUALIZER_PRO_BASEFILE ) ) : ''; $is_pro = 'valid' === $status; - $is_expired = 'expired' === $status || 'active-expired' === $status; + $is_expired = in_array( $status, array( 'expired', 'active_expired', 'active-expired' ), true ); if ( $is_pro ) { // translators: %s is the discount percentage. diff --git a/composer.lock b/composer.lock index 47f7fb9d..5f3036d0 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.67", + "version": "3.3.70", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "e1dda44811660a65c3da6994349c054a46686d69" + "reference": "b46f386e5cd307b888c5760427ed127a751db18a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/e1dda44811660a65c3da6994349c054a46686d69", - "reference": "e1dda44811660a65c3da6994349c054a46686d69", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/b46f386e5cd307b888c5760427ed127a751db18a", + "reference": "b46f386e5cd307b888c5760427ed127a751db18a", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.67" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.70" }, - "time": "2026-10-13T12:16:34+00:00" + "time": "2026-11-03T09:41:48+00:00" }, { "name": "neitanod/forceutf8", @@ -1066,11 +1066,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.3.1", + "version": "2.3.3", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6155239b488e95d26d1ebd95c6b4bb294d7f09db", - "reference": "6155239b488e95d26d1ebd95c6b4bb294d7f09db", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/4b57dc8ca7456b635d1661845f44bc060b02c6b0", + "reference": "4b57dc8ca7456b635d1661845f44bc060b02c6b0", "shasum": "" }, "require": { @@ -1126,7 +1126,7 @@ "type": "github" } ], - "time": "2026-10-08T21:09:11+00:00" + "time": "2026-10-27T14:06:26+00:00" }, { "name": "phpunit/php-code-coverage",