WooCommerce Sequential Order Numbers - Version 1.8.1

Version Description

  • 2017.03.28 =
  • Fix - Removes errors on refund number display
Download this release

Release Info

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

Code changes from version 1.8.0 to 1.8.1

i18n/languages/woocommerce-sequential-order-numbers.pot CHANGED
@@ -2,7 +2,7 @@
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.8.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://github.com/skyverge/woocommerce-sequential-order-numbers/issues\n"
8
  "POT-Creation-Date: 2014-09-05 22:27:38+00:00\n"
@@ -23,14 +23,14 @@ msgstr ""
23
  msgid "You cannot unserialize instances of %s."
24
  msgstr ""
25
 
26
- #: woocommerce-sequential-order-numbers.php:551
27
  #. Translators: %s - error message(s)
28
  msgid ""
29
  "Error activating and installing <strong>WooCommerce Sequential Order "
30
  "Numbers</strong>: %s"
31
  msgstr ""
32
 
33
- #: woocommerce-sequential-order-numbers.php:552
34
  msgid "&laquo; Go Back"
35
  msgstr ""
36
 
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.8.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://github.com/skyverge/woocommerce-sequential-order-numbers/issues\n"
8
  "POT-Creation-Date: 2014-09-05 22:27:38+00:00\n"
23
  msgid "You cannot unserialize instances of %s."
24
  msgstr ""
25
 
26
+ #: woocommerce-sequential-order-numbers.php:550
27
  #. Translators: %s - error message(s)
28
  msgid ""
29
  "Error activating and installing <strong>WooCommerce Sequential Order "
30
  "Numbers</strong>: %s"
31
  msgstr ""
32
 
33
+ #: woocommerce-sequential-order-numbers.php:551
34
  msgid "&laquo; Go Back"
35
  msgstr ""
36
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 4.1
5
  Tested up to: 4.7.3
6
  Requires WooCommerce at least: 2.5.5
7
  Tested WooCommerce up to: 3.0
8
- Stable tag: 1.8.0
9
 
10
  This plugin extends WooCommerce by setting sequential order numbers for new orders.
11
 
@@ -103,6 +103,9 @@ $order_number = $order->get_order_number();
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 1.8.0 - 2017.03.23 =
107
  * Fix - Admin orderby was not properly scoped to orders, props [@brandondove](https://github.com/brandondove)
108
  * Misc - Added support for WooCommerce 3.0
5
  Tested up to: 4.7.3
6
  Requires WooCommerce at least: 2.5.5
7
  Tested WooCommerce up to: 3.0
8
+ Stable tag: 1.8.1
9
 
10
  This plugin extends WooCommerce by setting sequential order numbers for new orders.
11
 
103
 
104
  == Changelog ==
105
 
106
+ = 1.8.1 - 2017.03.28 =
107
+ * Fix - Removes errors on refund number display
108
+
109
  = 1.8.0 - 2017.03.23 =
110
  * Fix - Admin orderby was not properly scoped to orders, props [@brandondove](https://github.com/brandondove)
111
  * Misc - Added support for WooCommerce 3.0
woocommerce-sequential-order-numbers.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Provides sequential order numbers for WooCommerce orders
6
  * Author: SkyVerge
7
  * Author URI: http://www.skyverge.com
8
- * Version: 1.8.0
9
  * Text Domain: woocommerce-sequential-order-numbers
10
  * Domain Path: /i18n/languages/
11
  *
@@ -32,7 +32,7 @@ class WC_Seq_Order_Number {
32
 
33
 
34
  /** version number */
35
- const VERSION = '1.8.0';
36
 
37
  /** @var \WC_Seq_Order_Number single instance of this plugin */
38
  protected static $instance;
@@ -402,7 +402,7 @@ class WC_Seq_Order_Number {
402
  * @param string $context the context for the property, 'edit' or 'view'
403
  * @return mixed the order property
404
  */
405
- protected static function get_order_prop( WC_Order $order, $prop, $context = 'edit' ) {
406
 
407
  $value = '';
408
 
@@ -437,7 +437,7 @@ class WC_Seq_Order_Number {
437
  * @param string $context if 'view' then the value will be filtered
438
  * @return mixed the order property
439
  */
440
- protected static function get_order_meta( WC_Order $order, $key = '', $single = true, $context = 'edit' ) {
441
 
442
  if ( self::is_wc_version_gte_3_0() ) {
443
 
@@ -447,7 +447,6 @@ class WC_Seq_Order_Number {
447
 
448
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
449
  $value = get_post_meta( $order_id, $key, $single );
450
-
451
  }
452
 
453
  return $value;
5
  * Description: Provides sequential order numbers for WooCommerce orders
6
  * Author: SkyVerge
7
  * Author URI: http://www.skyverge.com
8
+ * Version: 1.8.1
9
  * Text Domain: woocommerce-sequential-order-numbers
10
  * Domain Path: /i18n/languages/
11
  *
32
 
33
 
34
  /** version number */
35
+ const VERSION = '1.8.1';
36
 
37
  /** @var \WC_Seq_Order_Number single instance of this plugin */
38
  protected static $instance;
402
  * @param string $context the context for the property, 'edit' or 'view'
403
  * @return mixed the order property
404
  */
405
+ protected static function get_order_prop( $order, $prop, $context = 'edit' ) {
406
 
407
  $value = '';
408
 
437
  * @param string $context if 'view' then the value will be filtered
438
  * @return mixed the order property
439
  */
440
+ protected static function get_order_meta( $order, $key = '', $single = true, $context = 'edit' ) {
441
 
442
  if ( self::is_wc_version_gte_3_0() ) {
443
 
447
 
448
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
449
  $value = get_post_meta( $order_id, $key, $single );
 
450
  }
451
 
452
  return $value;