From 7b4ca5e449e42d4d483c63e29b5c26fb3dc395a4 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Thu, 24 Oct 2024 17:38:21 +0600 Subject: [PATCH 1/5] Prepare release v2.0.8 --- wc-serial-numbers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wc-serial-numbers.php b/wc-serial-numbers.php index 9695dd91..0879fb37 100644 --- a/wc-serial-numbers.php +++ b/wc-serial-numbers.php @@ -3,7 +3,7 @@ * Plugin Name: WC Serial Numbers * Plugin URI: https://pluginever.com/plugins/wocommerce-serial-numbers-pro/ * Description: Sell and manage license keys/ serial numbers/ secret keys easily within your WooCommerce store. - * Version: 2.0.7 + * Version: 2.0.8 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: PluginEver From 003b843a69e4d74b243bc606b461460954ce663c Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Thu, 24 Oct 2024 17:40:05 +0600 Subject: [PATCH 2/5] Update readme --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 8524178b..d34960a7 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: license, license manager, serial number, serial key, woocommerce Requires at least: 5.0 Tested up to: 6.6 Requires PHP: 7.4 -Stable tag: 2.0.7 +Stable tag: 2.0.8 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From a893e0e978b240ccca1b602ea6899239f97465ba Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Thu, 24 Oct 2024 17:40:26 +0600 Subject: [PATCH 3/5] Update package --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 663632a6..175744c5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wc-serial-numbers", "title": "WC Serial Numbers", - "version": "2.0.7", + "version": "2.0.8", "description": "Sell and manage license keys/ serial numbers/ secret keys easily within your WooCommerce store.", "homepage": "https://pluginever.com/plugins/woocommerce-serial-numbers-pro/", "license": "GPL v2 or later", From ea28e42e71bf238546158d06299ec50dbcef794e Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Thu, 24 Oct 2024 17:44:41 +0600 Subject: [PATCH 4/5] Update notice --- src/Admin/Notices.php | 8 ++++---- src/Plugin.php | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Admin/Notices.php b/src/Admin/Notices.php index d7f4d13f..74df84c2 100644 --- a/src/Admin/Notices.php +++ b/src/Admin/Notices.php @@ -45,11 +45,11 @@ public function add_notices() { 'type' => 'info', 'classes' => 'notice-alt notice-large wcsn-halloween', 'dismissible' => false, - 'id' => 'wc_serial_numbers_halloween_promotion', + 'id' => 'wcsn_halloween_promotion', 'message' => sprintf( /* translators: %1$s: link to the plugin page, %2$s: Offer content, %3$s: link to the plugin page, %4$s: end link to the plugin page */ __( '%1$s%2$s%3$s Upgrade Now and Save %4$s', 'wc-serial-numbers' ), - '
WC Serial Numbers Halloween offer
', + '
WC Serial Numbers Halloween offer
', '👻 Halloween Sale: ' . $discount_percentage . ' OFF on WC Serial Manager Pro

Grab a ' . $discount_percentage . ' discount on WC Serial Manager Pro and all our premium plugins this Halloween! Use code ‘BIGTREAT30’. Don\'t miss out!

', '', $discount_percentage . '
', @@ -61,11 +61,11 @@ public function add_notices() { 'type' => 'info', 'classes' => 'notice-alt notice-large wcsn-halloween', 'dismissible' => true, - 'id' => 'wc_serial_numbers_halloween_promotion', + 'id' => 'wcsn_halloween_promotion', 'message' => sprintf( /* translators: %1$s: link to the plugin page, %2$s: Offer content, %3$s: link to the plugin page, %4$s: end link to the plugin page */ __( '%1$s%2$s%3$s Claim your discount! %4$s', 'wc-serial-numbers' ), - '
WC Serial Numbers Halloween offer
', + '
WC Serial Numbers Halloween offer
', '👻 Halloween Sale: ' . $discount_percentage . ' OFF on All Plugins

Get ' . $discount_percentage . ' OFF on all premium plugins with code ‘BIGTREAT30’. Hurry, this deal won’t last long!

', '', '
', diff --git a/src/Plugin.php b/src/Plugin.php index 50649400..94551175 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -58,6 +58,7 @@ public function init_hooks() { public function on_before_woocommerce_init() { if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', $this->get_file(), true ); + \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', $this->get_file(), true ); } } From 53b009ab08d84fb1ba69752806c07481b5131fd2 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Thu, 24 Oct 2024 17:45:58 +0600 Subject: [PATCH 5/5] Update readme --- readme.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.txt b/readme.txt index d34960a7..86fbcfd9 100644 --- a/readme.txt +++ b/readme.txt @@ -251,6 +251,10 @@ Yes, you are always welcome to [provide suggestions](https://github.com/pluginev 9. Thank You Page with Keys == Changelog == += 2.0.8 (24th Oct 2024) = +* Enhance: Add WC cart checkout block compatibility. +* Fix: Few known issues fixed. + = 2.0.6 (07 Oct 2024) = * Enhance: Update the Key Model to enable more precise key queries, enhancing performance and accuracy.