Skip to content

Commit

Permalink
Merge pull request #446 from pluginever/release/2.0.8
Browse files Browse the repository at this point in the history
Prepare release v2.0.8
  • Loading branch information
kawsarahmedr authored Oct 24, 2024
2 parents b05d163 + 53b009a commit 94c6b64
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down
8 changes: 4 additions & 4 deletions src/Admin/Notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
'<div class="wcsn-halloween__header"><div class="wcsn-halloween__icon"><img src="' . WCSN()->get_dir_url( 'assets/images/halloween-icon.svg' ) . '" alt="WC Serial Numbers Halloween offer"></div><div class="wcsn-halloween__content"><strong>',
'<div class="wcsn-halloween__header"><div class="wcsn-halloween__icon"><img src="' . WCSN()->get_dir_url( 'assets/dist/images/halloween-icon.svg' ) . '" alt="WC Serial Numbers Halloween offer"></div><div class="wcsn-halloween__content"><strong class="wcsn-halloween__title">',
'👻 Halloween Sale: ' . $discount_percentage . ' OFF on WC Serial Manager Pro</strong><p>Grab a ' . $discount_percentage . ' discount on WC Serial Manager Pro and all our premium plugins this Halloween! Use code <strong>‘BIGTREAT30’</strong>. Don\'t miss out!</p>',
'<a class="button button-primary" href="' . esc_url( WCSN()->get_premium_url() ) . '?utm_source=plugin&utm_medium=notice&utm_campaign=halloween-2024&discount=bigtreat30" target="_blank">',
$discount_percentage . '</a></div></div>',
Expand All @@ -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' ),
'<div class="wcsn-halloween__header"><div class="wcsn-halloween__icon"><img src="' . WCSN()->get_dir_url( 'assets/images/halloween-icon.svg' ) . '" alt="WC Serial Numbers Halloween offer"></div><div class="wcsn-halloween__content"><strong class="wcsn-halloween__title">',
'<div class="wcsn-halloween__header"><div class="wcsn-halloween__icon"><img src="' . WCSN()->get_dir_url( 'assets/dist/images/halloween-icon.svg' ) . '" alt="WC Serial Numbers Halloween offer"></div><div class="wcsn-halloween__content"><strong class="wcsn-halloween__title">',
'👻 Halloween Sale: ' . $discount_percentage . ' OFF on All Plugins</strong><p>Get ' . $discount_percentage . ' OFF on all premium plugins with code <strong>‘BIGTREAT30’</strong>. Hurry, this deal won’t last long!</p>',
'<a class="button button-primary" href="' . esc_url( 'https://pluginever.com/plugins/?utm_source=plugin&utm_medium=notice&utm_campaign=halloween-2024&discount=bigtreat30' ) . '" target="_blank">',
'</a></div></div>',
Expand Down
1 change: 1 addition & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

Expand Down
2 changes: 1 addition & 1 deletion wc-serial-numbers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94c6b64

Please sign in to comment.