From ef8bfac6684699417f9c66f47cc6cd6b70bfefc0 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Thu, 15 Aug 2024 13:27:46 +0600 Subject: [PATCH 1/6] Add filter to the product data tabs --- includes/Admin/Products.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/includes/Admin/Products.php b/includes/Admin/Products.php index a6c565ff..eb919a2e 100644 --- a/includes/Admin/Products.php +++ b/includes/Admin/Products.php @@ -86,11 +86,14 @@ public static function print_style() { * @return mixed */ public static function product_data_tab( $tabs ) { - $tabs['wc_serial_numbers'] = array( - 'label' => __( 'Serial Numbers', 'wc-serial-numbers' ), - 'target' => 'wc_serial_numbers_data', - 'class' => array( 'show_if_simple' ), - 'priority' => 11, + $tabs['wc_serial_numbers'] = apply_filters( + 'wc_serial_numbers_product_data_tab', + array( + 'label' => __( 'Serial Numbers', 'wc-serial-numbers' ), + 'target' => 'wc_serial_numbers_data', + 'class' => array( 'show_if_simple', 'hide_if_subscription', 'hide_if_variable-subscription' ), + 'priority' => 11, + ) ); return $tabs; From 40e9e9ad5d764328cdf1163a011ec720b1c3483b Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Wed, 28 Aug 2024 11:24:15 +0600 Subject: [PATCH 2/6] Update header doc block --- 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 0a65351a..7a610512 100644 --- a/wc-serial-numbers.php +++ b/wc-serial-numbers.php @@ -3,7 +3,7 @@ * Plugin Name: WC Serial Numbers * Plugin URI: https://www.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.1 + * Version: 2.0.2 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: PluginEver From 1087dc652d080ba30914c06ff232b04fbb29f7d5 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Sun, 1 Sep 2024 14:18:26 +0600 Subject: [PATCH 3/6] Update header doc block --- 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 7a610512..d40e1f69 100644 --- a/wc-serial-numbers.php +++ b/wc-serial-numbers.php @@ -1,7 +1,7 @@ Date: Sun, 1 Sep 2024 14:22:44 +0600 Subject: [PATCH 4/6] Update redme --- readme.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 76276df0..def25522 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.1 +Stable tag: 2.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -251,6 +251,9 @@ Yes, you are always welcome to [provide suggestions](https://github.com/pluginev 9. Thank You Page with Keys == Changelog == += 2.0.2 (01 Sep 2024) = +* Fix: Few known issues. + = 2.0.1 (14 Aug 2024) = * Enhance: Migrate classes to new directory structure * Fix: Few known issues. From 355a9f2bcde3138c7ca08b6e9d50afd551dfb45c Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Sun, 1 Sep 2024 14:23:57 +0600 Subject: [PATCH 5/6] Update package --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e800f2c0..7dad79d5 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "wc-serial-numbers", "title": "WC Serial Numbers", - "version": "2.0.1", + "version": "2.0.2", "description": "Sell and manage license keys/ serial numbers/ secret keys easily within your WooCommerce store.", "homepage": "https://pluginever.com/plugins/wc-serial-numbers/", - "license": "GPL-3.0+", + "license": "GPL v2 or later", "prettier": "@wordpress/prettier-config", "scripts": { "build": "wp-scripts build && grunt build", From 5201aa1521e659cfa86f6ecf24c58b552f364c86 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Sun, 1 Sep 2024 14:25:43 +0600 Subject: [PATCH 6/6] Update composer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 07395c80..47c38087 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "WC Serial Numbers", "homepage": "https://pluginever.com/plugins/wc-serial-numbers/", "type": "wordpress-plugin", - "license": "GPL-3.0-or-later", + "license": "GPL-v2 or later", "prefer-stable": true, "minimum-stability": "dev", "repositories": [