Version Description
27/08/2021 =
- Fix - SHIPPING & ORDERS - Order Numbers - Fixed order number sequential bug for a new order for different PHP versions.
Download this release
Release Info
Developer | ronyp |
Plugin | Booster for WooCommerce |
Version | 5.4.6 |
Comparing to | |
See all releases |
Code changes from version 5.4.5 to 5.4.6
- includes/class-wcj-order-numbers.php +4 -3
- langs/woocommerce-jetpack.pot +0 -0
- readme.txt +5 -1
- woocommerce-jetpack.php +2 -2
includes/class-wcj-order-numbers.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Order Numbers
|
4 |
*
|
5 |
-
* @version 5.4.
|
6 |
* @author Pluggabl LLC.
|
7 |
*/
|
8 |
|
@@ -400,7 +400,7 @@ class WCJ_Order_Numbers extends WCJ_Module {
|
|
400 |
/**
|
401 |
* Add/update order_number meta to order.
|
402 |
*
|
403 |
-
* @version 5.4.
|
404 |
* @todo (maybe) save order ID instead of `$current_order_number = ''` (if `'no' === wcj_get_option( 'wcj_order_number_sequential_enabled', 'yes' )`)
|
405 |
*/
|
406 |
function add_order_number_meta( $order_id, $do_overwrite ) {
|
@@ -408,6 +408,7 @@ class WCJ_Order_Numbers extends WCJ_Module {
|
|
408 |
return;
|
409 |
}
|
410 |
|
|
|
411 |
if ( $order_id < wcj_get_option( 'wcj_order_numbers_min_order_id', 0 ) ) {
|
412 |
return;
|
413 |
}
|
@@ -438,7 +439,7 @@ class WCJ_Order_Numbers extends WCJ_Module {
|
|
438 |
$current_order_number = '';
|
439 |
}
|
440 |
update_post_meta( $order_id, '_wcj_order_number', apply_filters( 'wcj_order_number_meta', $current_order_number, $order_id ) );
|
441 |
-
|
442 |
}
|
443 |
}
|
444 |
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Order Numbers
|
4 |
*
|
5 |
+
* @version 5.4.6
|
6 |
* @author Pluggabl LLC.
|
7 |
*/
|
8 |
|
400 |
/**
|
401 |
* Add/update order_number meta to order.
|
402 |
*
|
403 |
+
* @version 5.4.6
|
404 |
* @todo (maybe) save order ID instead of `$current_order_number = ''` (if `'no' === wcj_get_option( 'wcj_order_number_sequential_enabled', 'yes' )`)
|
405 |
*/
|
406 |
function add_order_number_meta( $order_id, $do_overwrite ) {
|
408 |
return;
|
409 |
}
|
410 |
|
411 |
+
if ( true === $do_overwrite || 0 == get_post_meta( $order_id, '_wcj_order_number', true ) || '' == get_post_meta( $order_id, '_wcj_order_number', true ) ) {
|
412 |
if ( $order_id < wcj_get_option( 'wcj_order_numbers_min_order_id', 0 ) ) {
|
413 |
return;
|
414 |
}
|
439 |
$current_order_number = '';
|
440 |
}
|
441 |
update_post_meta( $order_id, '_wcj_order_number', apply_filters( 'wcj_order_number_meta', $current_order_number, $order_id ) );
|
442 |
+
}
|
443 |
}
|
444 |
}
|
445 |
|
langs/woocommerce-jetpack.pot
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce customization, woocommerce bundle, woocommerce product addon,
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.4.
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -265,6 +265,10 @@ To unlock all Booster for WooCommerce features, please install additional [Boost
|
|
265 |
|
266 |
== Changelog ==
|
267 |
|
|
|
|
|
|
|
|
|
268 |
= 5.4.5 25/08/2021 =
|
269 |
* Fix - PDF INVOICING & PACKING SLIPS - Fixed table border is not being shown when we use a background image.
|
270 |
* Fix - PDF INVOICING & PACKING SLIPS - Fixed page break not working when extra header css is being added.
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.4.6
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
265 |
|
266 |
== Changelog ==
|
267 |
|
268 |
+
= 5.4.6 27/08/2021 =
|
269 |
+
|
270 |
+
* Fix - SHIPPING & ORDERS - Order Numbers - Fixed order number sequential bug for a new order for different PHP versions.
|
271 |
+
|
272 |
= 5.4.5 25/08/2021 =
|
273 |
* Fix - PDF INVOICING & PACKING SLIPS - Fixed table border is not being shown when we use a background image.
|
274 |
* Fix - PDF INVOICING & PACKING SLIPS - Fixed page break not working when extra header css is being added.
|
woocommerce-jetpack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Booster for WooCommerce
|
4 |
Plugin URI: https://booster.io
|
5 |
Description: Supercharge your WooCommerce site with these awesome powerful features. More than 100 modules. All in one WooCommerce plugin.
|
6 |
-
Version: 5.4.
|
7 |
Author: Pluggabl LLC
|
8 |
Author URI: https://booster.io
|
9 |
Text Domain: woocommerce-jetpack
|
@@ -57,7 +57,7 @@ final class WC_Jetpack {
|
|
57 |
* @var string
|
58 |
* @since 2.4.7
|
59 |
*/
|
60 |
-
public $version = '5.4.
|
61 |
|
62 |
/**
|
63 |
* @var WC_Jetpack The single instance of the class
|
3 |
Plugin Name: Booster for WooCommerce
|
4 |
Plugin URI: https://booster.io
|
5 |
Description: Supercharge your WooCommerce site with these awesome powerful features. More than 100 modules. All in one WooCommerce plugin.
|
6 |
+
Version: 5.4.6
|
7 |
Author: Pluggabl LLC
|
8 |
Author URI: https://booster.io
|
9 |
Text Domain: woocommerce-jetpack
|
57 |
* @var string
|
58 |
* @since 2.4.7
|
59 |
*/
|
60 |
+
public $version = '5.4.6';
|
61 |
|
62 |
/**
|
63 |
* @var WC_Jetpack The single instance of the class
|