WooCommerce Sequential Order Numbers - Version 1.9.6

Version Description

Download this release

Release Info

Developer SkyVerge
Plugin Icon WooCommerce Sequential Order Numbers
Version 1.9.6
Comparing to
See all releases

Code changes from version 1.9.5 to 1.9.6

i18n/languages/woocommerce-sequential-order-numbers.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2020 SkyVerge
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Sequential Order Numbers 1.9.5\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2020-05-07 21:51:02+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
1
+ # Copyright (C) 2022 SkyVerge
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Sequential Order Numbers 1.9.6\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2022-03-01 09:30:41+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WooCommerce Sequential Order Numbers ===
2
  Contributors: SkyVerge, maxrice, tamarazuk, chasewiseman, nekojira, beka.rice
3
  Tags: woocommerce, order number, sequential order number, woocommerce orders
4
- Requires at least: 4.4
5
- Tested up to: 5.4.1
6
- Stable tag: 1.9.5
7
 
8
  This plugin extends WooCommerce by setting sequential order numbers for new orders.
9
 
@@ -11,7 +11,7 @@ This plugin extends WooCommerce by setting sequential order numbers for new orde
11
 
12
  This plugin extends WooCommerce by automatically setting sequential order numbers for new orders. If there are existing orders at the time of installation, the sequential order numbers will start with the highest current order number.
13
 
14
- **This plugin requires WooCommerce 3.0.9 or newer.**
15
 
16
  > No configuration needed! The plugin is so easy to use, there aren't even any settings. Activate it, and orders will automatically become sequential.
17
 
@@ -101,6 +101,10 @@ $order_number = $order->get_order_number();
101
 
102
  == Changelog ==
103
 
 
 
 
 
104
  = 2020.05.07 - version 1.9.5 =
105
  * Misc - Add support for WooCommerce 4.1
106
 
1
  === WooCommerce Sequential Order Numbers ===
2
  Contributors: SkyVerge, maxrice, tamarazuk, chasewiseman, nekojira, beka.rice
3
  Tags: woocommerce, order number, sequential order number, woocommerce orders
4
+ Requires at least: 4.7
5
+ Tested up to: 5.9.1
6
+ Stable tag: 1.9.6
7
 
8
  This plugin extends WooCommerce by setting sequential order numbers for new orders.
9
 
11
 
12
  This plugin extends WooCommerce by automatically setting sequential order numbers for new orders. If there are existing orders at the time of installation, the sequential order numbers will start with the highest current order number.
13
 
14
+ **This plugin requires WooCommerce 3.9.4 or newer.**
15
 
16
  > No configuration needed! The plugin is so easy to use, there aren't even any settings. Activate it, and orders will automatically become sequential.
17
 
101
 
102
  == Changelog ==
103
 
104
+ = 2022.03.01 - version 1.9.6 =
105
+ * Misc - Require WooCommerce 3.9.4 or newer
106
+ * Misc - Replace calls to deprecated `is_ajax()` with `wp_doing_ajax()`
107
+
108
  = 2020.05.07 - version 1.9.5 =
109
  * Misc - Add support for WooCommerce 4.1
110
 
woocommerce-sequential-order-numbers.php CHANGED
@@ -5,21 +5,21 @@
5
  * Description: Provides sequential order numbers for WooCommerce orders
6
  * Author: SkyVerge
7
  * Author URI: http://www.skyverge.com
8
- * Version: 1.9.5
9
  * Text Domain: woocommerce-sequential-order-numbers
10
  * Domain Path: /i18n/languages/
11
  *
12
- * Copyright: (c) 2012-2020, SkyVerge, Inc. (info@skyverge.com)
13
  *
14
  * License: GNU General Public License v3.0
15
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16
  *
17
  * @author SkyVerge
18
- * @copyright Copyright (c) 2012-2020, SkyVerge, Inc. (info@skyverge.com)
19
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
20
  *
21
- * WC requires at least: 3.0.9
22
- * WC tested up to: 4.1.0
23
  */
24
 
25
  defined( 'ABSPATH' ) or exit;
@@ -33,10 +33,10 @@ class WC_Seq_Order_Number {
33
 
34
 
35
  /** version number */
36
- const VERSION = '1.9.5';
37
 
38
  /** minimum required wc version */
39
- const MINIMUM_WC_VERSION = '3.0.9';
40
 
41
  /** @var \WC_Seq_Order_Number single instance of this plugin */
42
  protected static $instance;
@@ -125,7 +125,7 @@ class WC_Seq_Order_Number {
125
  }
126
 
127
  // Installation
128
- if ( is_admin() && ! is_ajax() ) {
129
  $this->install();
130
  }
131
  }
@@ -463,7 +463,7 @@ class WC_Seq_Order_Number {
463
  // if a plugin defines a minimum WC version, render a notice and skip loading the plugin
464
  if ( defined( 'self::MINIMUM_WC_VERSION' ) && version_compare( self::get_wc_version(), self::MINIMUM_WC_VERSION, '<' ) ) {
465
 
466
- if ( is_admin() && ! is_ajax() && ! has_action( 'admin_notices', array( $this, 'render_update_notices' ) ) ) {
467
 
468
  add_action( 'admin_notices', array( $this, 'render_update_notices' ) );
469
  }
5
  * Description: Provides sequential order numbers for WooCommerce orders
6
  * Author: SkyVerge
7
  * Author URI: http://www.skyverge.com
8
+ * Version: 1.9.6
9
  * Text Domain: woocommerce-sequential-order-numbers
10
  * Domain Path: /i18n/languages/
11
  *
12
+ * Copyright: (c) 2012-2022, SkyVerge, Inc. (info@skyverge.com)
13
  *
14
  * License: GNU General Public License v3.0
15
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16
  *
17
  * @author SkyVerge
18
+ * @copyright Copyright (c) 2012-2022, SkyVerge, Inc. (info@skyverge.com)
19
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
20
  *
21
+ * WC requires at least: 3.9.4
22
+ * WC tested up to: 6.2.1
23
  */
24
 
25
  defined( 'ABSPATH' ) or exit;
33
 
34
 
35
  /** version number */
36
+ const VERSION = '1.9.6';
37
 
38
  /** minimum required wc version */
39
+ const MINIMUM_WC_VERSION = '3.9.4';
40
 
41
  /** @var \WC_Seq_Order_Number single instance of this plugin */
42
  protected static $instance;
125
  }
126
 
127
  // Installation
128
+ if ( is_admin() && ! wp_doing_ajax() ) {
129
  $this->install();
130
  }
131
  }
463
  // if a plugin defines a minimum WC version, render a notice and skip loading the plugin
464
  if ( defined( 'self::MINIMUM_WC_VERSION' ) && version_compare( self::get_wc_version(), self::MINIMUM_WC_VERSION, '<' ) ) {
465
 
466
+ if ( is_admin() && ! wp_doing_ajax() && ! has_action( 'admin_notices', array( $this, 'render_update_notices' ) ) ) {
467
 
468
  add_action( 'admin_notices', array( $this, 'render_update_notices' ) );
469
  }