Version Description
- 18/09/2019 =
- Fix - PRODUCTS - Product Input Fields - Improve 'Line Break' style on frontend.
- Fix - CART & CHECKOUT - Checkout Custom Fields - Fix 'Call to a member function get_cart() on null' on order status update.
Download this release
Release Info
Developer | algoritmika |
Plugin | Booster for WooCommerce |
Version | 4.5.1 |
Comparing to | |
See all releases |
Code changes from version 4.5.0 to 4.5.1
includes/class-wcj-checkout-custom-fields.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Checkout Custom Fields
|
4 |
*
|
5 |
-
* @version 4.5.
|
6 |
* @author Algoritmika Ltd.
|
7 |
*/
|
8 |
|
@@ -190,12 +190,12 @@ class WCJ_Checkout_Custom_Fields extends WCJ_Module {
|
|
190 |
/**
|
191 |
* update_custom_checkout_fields_order_meta.
|
192 |
*
|
193 |
-
* @version 4.5.
|
194 |
*/
|
195 |
function update_custom_checkout_fields_order_meta( $order_id ) {
|
196 |
for ( $i = 1; $i <= apply_filters( 'booster_option', 1, get_option( 'wcj_checkout_custom_fields_total_number', 1 ) ); $i++ ) {
|
197 |
if ( 'yes' === get_option( 'wcj_checkout_custom_field_enabled_' . $i ) ) {
|
198 |
-
if ( ! $this->is_visible( $i ) ) {
|
199 |
continue;
|
200 |
}
|
201 |
$the_section = get_option( 'wcj_checkout_custom_field_section_' . $i );
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Checkout Custom Fields
|
4 |
*
|
5 |
+
* @version 4.5.1
|
6 |
* @author Algoritmika Ltd.
|
7 |
*/
|
8 |
|
190 |
/**
|
191 |
* update_custom_checkout_fields_order_meta.
|
192 |
*
|
193 |
+
* @version 4.5.1
|
194 |
*/
|
195 |
function update_custom_checkout_fields_order_meta( $order_id ) {
|
196 |
for ( $i = 1; $i <= apply_filters( 'booster_option', 1, get_option( 'wcj_checkout_custom_fields_total_number', 1 ) ); $i++ ) {
|
197 |
if ( 'yes' === get_option( 'wcj_checkout_custom_field_enabled_' . $i ) ) {
|
198 |
+
if ( 'woocommerce_checkout_update_order_meta' === current_filter() && ! $this->is_visible( $i ) ) {
|
199 |
continue;
|
200 |
}
|
201 |
$the_section = get_option( 'wcj_checkout_custom_field_section_' . $i );
|
includes/class-wcj-product-input-fields.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Product Input Fields
|
4 |
*
|
5 |
-
* @version
|
6 |
* @author Algoritmika Ltd.
|
7 |
*/
|
8 |
|
@@ -68,7 +68,7 @@ class WCJ_Product_Input_Fields extends WCJ_Module {
|
|
68 |
/**
|
69 |
* preserve_linebreaks_frontend.
|
70 |
*
|
71 |
-
* @version 4.5.
|
72 |
* @since 4.5.0
|
73 |
*/
|
74 |
function preserve_linebreaks_frontend() {
|
@@ -76,11 +76,16 @@ class WCJ_Product_Input_Fields extends WCJ_Module {
|
|
76 |
return;
|
77 |
}
|
78 |
?>
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
84 |
<?php
|
85 |
}
|
86 |
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Product Input Fields
|
4 |
*
|
5 |
+
* @version 4.5.1
|
6 |
* @author Algoritmika Ltd.
|
7 |
*/
|
8 |
|
68 |
/**
|
69 |
* preserve_linebreaks_frontend.
|
70 |
*
|
71 |
+
* @version 4.5.1
|
72 |
* @since 4.5.0
|
73 |
*/
|
74 |
function preserve_linebreaks_frontend() {
|
76 |
return;
|
77 |
}
|
78 |
?>
|
79 |
+
<style>
|
80 |
+
.woocommerce-cart-form__cart-item.cart_item .product-name dl dd,
|
81 |
+
.woocommerce-checkout-review-order-table .product-name dl dd {
|
82 |
+
white-space: pre-wrap !important;
|
83 |
+
}
|
84 |
+
.woocommerce-cart-form__cart-item.cart_item .product-name dt,
|
85 |
+
.woocommerce-checkout-review-order-table .product-name dt {
|
86 |
+
display: block;
|
87 |
+
}
|
88 |
+
</style>
|
89 |
<?php
|
90 |
}
|
91 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: algoritmika, anbinder, debugeris, karzin
|
|
3 |
Tags: woocommerce, booster for woocommerce, woocommerce jetpack
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 4.5.
|
7 |
License: GNU General Public License v3.0
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -193,6 +193,10 @@ You can see the differences between versions in this [table](https://booster.io/
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
|
|
196 |
= 4.5.0 - 05/09/2019 =
|
197 |
* Fix - Core - `WCJ_Modules` - Change the order some submodules are loaded to make it compatible with "Load Modules on Init Hook" option.
|
198 |
* Fix - EMAILS & MISC. - My Account - Fix custom page title on my account page changing the my account title on wp nav menu.
|
3 |
Tags: woocommerce, booster for woocommerce, woocommerce jetpack
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 4.5.1
|
7 |
License: GNU General Public License v3.0
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
193 |
|
194 |
== Changelog ==
|
195 |
|
196 |
+
= 4.5.1 - 18/09/2019 =
|
197 |
+
* Fix - PRODUCTS - Product Input Fields - Improve 'Line Break' style on frontend.
|
198 |
+
* Fix - CART & CHECKOUT - Checkout Custom Fields - Fix 'Call to a member function get_cart() on null' on order status update.
|
199 |
+
|
200 |
= 4.5.0 - 05/09/2019 =
|
201 |
* Fix - Core - `WCJ_Modules` - Change the order some submodules are loaded to make it compatible with "Load Modules on Init Hook" option.
|
202 |
* Fix - EMAILS & MISC. - My Account - Fix custom page title on my account page changing the my account title on wp nav menu.
|
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: 4.5.
|
7 |
Author: Algoritmika Ltd
|
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 = '4.5.
|
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: 4.5.1
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: https://booster.io
|
9 |
Text Domain: woocommerce-jetpack
|
57 |
* @var string
|
58 |
* @since 2.4.7
|
59 |
*/
|
60 |
+
public $version = '4.5.1';
|
61 |
|
62 |
/**
|
63 |
* @var WC_Jetpack The single instance of the class
|