Version Description
- 13/02/2018 =
- Fix - PRODUCTS - SKU - Search by SKU -
pre_get_posts
-$wpdb->prefix
is used instead of hard-codedwp_
prefix. - Dev - SHIPPING & ORDERS - Shipping Descriptions - Description updated.
- Dev - SHIPPING & ORDERS - Shipping Icons - Description updated.
- Fix - EMAILS & MISC. - General - "Session Type in Booster" option fixed.
Download this release
Release Info
Developer | algoritmika |
Plugin | Booster for WooCommerce |
Version | 3.4.1 |
Comparing to | |
See all releases |
Code changes from version 3.4.0 to 3.4.1
includes/class-wcj-shipping-description.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Shipping Descriptions
|
4 |
*
|
5 |
-
* @version 3.4.
|
6 |
* @since 3.4.0
|
7 |
* @author Algoritmika Ltd.
|
8 |
*/
|
@@ -16,14 +16,14 @@ class WCJ_Shipping_Descriptions extends WCJ_Module {
|
|
16 |
/**
|
17 |
* Constructor.
|
18 |
*
|
19 |
-
* @version 3.4.
|
20 |
* @since 3.4.0
|
21 |
*/
|
22 |
function __construct() {
|
23 |
|
24 |
$this->id = 'shipping_description';
|
25 |
$this->short_desc = __( 'Shipping Descriptions', 'woocommerce-jetpack' );
|
26 |
-
$this->desc = __( 'Add descriptions to shipping methods on frontend.', 'woocommerce-jetpack' );
|
27 |
$this->link_slug = 'woocommerce-shipping-descriptions';
|
28 |
parent::__construct();
|
29 |
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Shipping Descriptions
|
4 |
*
|
5 |
+
* @version 3.4.1
|
6 |
* @since 3.4.0
|
7 |
* @author Algoritmika Ltd.
|
8 |
*/
|
16 |
/**
|
17 |
* Constructor.
|
18 |
*
|
19 |
+
* @version 3.4.1
|
20 |
* @since 3.4.0
|
21 |
*/
|
22 |
function __construct() {
|
23 |
|
24 |
$this->id = 'shipping_description';
|
25 |
$this->short_desc = __( 'Shipping Descriptions', 'woocommerce-jetpack' );
|
26 |
+
$this->desc = __( 'Add descriptions to WooCommerce shipping methods on frontend.', 'woocommerce-jetpack' );
|
27 |
$this->link_slug = 'woocommerce-shipping-descriptions';
|
28 |
parent::__construct();
|
29 |
|
includes/class-wcj-shipping-icons.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Shipping Icons
|
4 |
*
|
5 |
-
* @version 3.4.
|
6 |
* @since 3.4.0
|
7 |
* @author Algoritmika Ltd.
|
8 |
*/
|
@@ -16,14 +16,14 @@ class WCJ_Shipping_Icons extends WCJ_Module {
|
|
16 |
/**
|
17 |
* Constructor.
|
18 |
*
|
19 |
-
* @version 3.4.
|
20 |
* @since 3.4.0
|
21 |
*/
|
22 |
function __construct() {
|
23 |
|
24 |
$this->id = 'shipping_icons';
|
25 |
$this->short_desc = __( 'Shipping Icons', 'woocommerce-jetpack' );
|
26 |
-
$this->desc = __( 'Add icons to shipping methods on frontend.', 'woocommerce-jetpack' );
|
27 |
$this->link_slug = 'woocommerce-shipping-icons';
|
28 |
parent::__construct();
|
29 |
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - Shipping Icons
|
4 |
*
|
5 |
+
* @version 3.4.1
|
6 |
* @since 3.4.0
|
7 |
* @author Algoritmika Ltd.
|
8 |
*/
|
16 |
/**
|
17 |
* Constructor.
|
18 |
*
|
19 |
+
* @version 3.4.1
|
20 |
* @since 3.4.0
|
21 |
*/
|
22 |
function __construct() {
|
23 |
|
24 |
$this->id = 'shipping_icons';
|
25 |
$this->short_desc = __( 'Shipping Icons', 'woocommerce-jetpack' );
|
26 |
+
$this->desc = __( 'Add icons to WooCommerce shipping methods on frontend.', 'woocommerce-jetpack' );
|
27 |
$this->link_slug = 'woocommerce-shipping-icons';
|
28 |
parent::__construct();
|
29 |
|
includes/class-wcj-sku.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - SKU
|
4 |
*
|
5 |
-
* @version 3.4.
|
6 |
* @author Algoritmika Ltd.
|
7 |
*/
|
8 |
|
@@ -424,30 +424,30 @@ class WCJ_SKU extends WCJ_Module {
|
|
424 |
/**
|
425 |
* search_post_join.
|
426 |
*
|
427 |
-
* @version
|
428 |
* @since 2.9.0
|
429 |
*/
|
430 |
function search_post_join( $join = '' ) {
|
431 |
-
global $wp_the_query;
|
432 |
if ( empty( $wp_the_query->query_vars['wc_query'] ) || empty( $wp_the_query->query_vars['s'] ) ) {
|
433 |
return $join;
|
434 |
}
|
435 |
-
$join .= "INNER JOIN
|
436 |
return $join;
|
437 |
}
|
438 |
|
439 |
/**
|
440 |
* search_post_where.
|
441 |
*
|
442 |
-
* @version 3.
|
443 |
* @since 2.9.0
|
444 |
*/
|
445 |
function search_post_where( $where = '' ) {
|
446 |
-
global $wp_the_query;
|
447 |
if ( empty( $wp_the_query->query_vars['wc_query'] ) || empty( $wp_the_query->query_vars['s'] ) ) {
|
448 |
return $where;
|
449 |
}
|
450 |
-
$where = preg_replace( "/\(\s*
|
451 |
return $where;
|
452 |
}
|
453 |
|
2 |
/**
|
3 |
* Booster for WooCommerce - Module - SKU
|
4 |
*
|
5 |
+
* @version 3.4.1
|
6 |
* @author Algoritmika Ltd.
|
7 |
*/
|
8 |
|
424 |
/**
|
425 |
* search_post_join.
|
426 |
*
|
427 |
+
* @version 3.4.1
|
428 |
* @since 2.9.0
|
429 |
*/
|
430 |
function search_post_join( $join = '' ) {
|
431 |
+
global $wpdb, $wp_the_query;
|
432 |
if ( empty( $wp_the_query->query_vars['wc_query'] ) || empty( $wp_the_query->query_vars['s'] ) ) {
|
433 |
return $join;
|
434 |
}
|
435 |
+
$join .= "INNER JOIN {$wpdb->prefix}postmeta AS wcj_sku ON ({$wpdb->prefix}posts.ID = wcj_sku.post_id)";
|
436 |
return $join;
|
437 |
}
|
438 |
|
439 |
/**
|
440 |
* search_post_where.
|
441 |
*
|
442 |
+
* @version 3.4.1
|
443 |
* @since 2.9.0
|
444 |
*/
|
445 |
function search_post_where( $where = '' ) {
|
446 |
+
global $wpdb, $wp_the_query;
|
447 |
if ( empty( $wp_the_query->query_vars['wc_query'] ) || empty( $wp_the_query->query_vars['s'] ) ) {
|
448 |
return $where;
|
449 |
}
|
450 |
+
$where = preg_replace( "/\(\s*{$wpdb->prefix}posts.post_title\s+LIKE\s*(\'[^\']+\')\s*\)/", "({$wpdb->prefix}posts.post_title LIKE $1) OR (wcj_sku.meta_key = '_sku' AND CAST(wcj_sku.meta_value AS CHAR) LIKE $1)", $where );
|
451 |
return $where;
|
452 |
}
|
453 |
|
includes/settings/wcj-settings-general.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Booster for WooCommerce - Settings - General
|
4 |
*
|
5 |
-
* @version 3.4.
|
6 |
* @since 2.8.0
|
7 |
* @author Algoritmika Ltd.
|
8 |
* @todo add link to Booster's shortcodes list
|
@@ -88,8 +88,8 @@ $settings = array(
|
|
88 |
array(
|
89 |
'title' => __( 'Session Type in Booster', 'woocommerce-jetpack' ),
|
90 |
'id' => 'wcj_general_advanced_session_type',
|
91 |
-
'default' => '
|
92 |
-
'type' => '
|
93 |
'options' => array(
|
94 |
'standard' => __( 'Standard PHP sessions', 'woocommerce-jetpack' ),
|
95 |
'wc' => __( 'WC sessions', 'woocommerce-jetpack' ),
|
2 |
/**
|
3 |
* Booster for WooCommerce - Settings - General
|
4 |
*
|
5 |
+
* @version 3.4.1
|
6 |
* @since 2.8.0
|
7 |
* @author Algoritmika Ltd.
|
8 |
* @todo add link to Booster's shortcodes list
|
88 |
array(
|
89 |
'title' => __( 'Session Type in Booster', 'woocommerce-jetpack' ),
|
90 |
'id' => 'wcj_general_advanced_session_type',
|
91 |
+
'default' => 'wc',
|
92 |
+
'type' => 'select',
|
93 |
'options' => array(
|
94 |
'standard' => __( 'Standard PHP sessions', 'woocommerce-jetpack' ),
|
95 |
'wc' => __( 'WC sessions', 'woocommerce-jetpack' ),
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: algoritmika, anbinder
|
|
3 |
Tags: woocommerce, booster for woocommerce, woocommerce jetpack
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 3.4.
|
7 |
License: GNU General Public License v3.0
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -111,8 +111,8 @@ Booster for WooCommerce is a WordPress plugin that supercharges your site with a
|
|
111 |
* *Order Numbers* - WooCommerce sequential order numbering, custom order number prefix, suffix and number width.
|
112 |
* *Orders* - WooCommerce orders auto-complete; admin order currency; admin order navigation; bulk regenerate download permissions for orders.
|
113 |
* *Shipping Calculator* - Customize WooCommerce shipping calculator on cart page.
|
114 |
-
* *Shipping Descriptions* - Add descriptions to shipping methods on frontend.
|
115 |
-
* *Shipping Icons* - Add icons to shipping methods on frontend.
|
116 |
* *Shipping Methods by Min/Max Order Amount* - Set minimum and/or maximum order amount for WooCommerce shipping methods to show up.
|
117 |
* *Shipping Methods by Products* - Set products, product categories or tags to include/exclude for WooCommerce shipping methods to show up.
|
118 |
* *Shipping Methods by Users* - Set user roles, users or membership plans to include/exclude for WooCommerce shipping methods to show up.
|
@@ -180,6 +180,12 @@ You can see the differences between versions in this [table](https://booster.io/
|
|
180 |
|
181 |
== Changelog ==
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
= 3.4.0 - 12/02/2018 =
|
184 |
* Fix - PRICES & CURRENCIES - Wholesale Price - Discount info on cart page - Price taxes display fixed.
|
185 |
* Fix - PRICES & CURRENCIES - Wholesale Price - Discount info on cart page - `price_directly` and `fixed` discount taxes display fixed.
|
3 |
Tags: woocommerce, booster for woocommerce, woocommerce jetpack
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 3.4.1
|
7 |
License: GNU General Public License v3.0
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
111 |
* *Order Numbers* - WooCommerce sequential order numbering, custom order number prefix, suffix and number width.
|
112 |
* *Orders* - WooCommerce orders auto-complete; admin order currency; admin order navigation; bulk regenerate download permissions for orders.
|
113 |
* *Shipping Calculator* - Customize WooCommerce shipping calculator on cart page.
|
114 |
+
* *Shipping Descriptions* - Add descriptions to WooCommerce shipping methods on frontend.
|
115 |
+
* *Shipping Icons* - Add icons to WooCommerce shipping methods on frontend.
|
116 |
* *Shipping Methods by Min/Max Order Amount* - Set minimum and/or maximum order amount for WooCommerce shipping methods to show up.
|
117 |
* *Shipping Methods by Products* - Set products, product categories or tags to include/exclude for WooCommerce shipping methods to show up.
|
118 |
* *Shipping Methods by Users* - Set user roles, users or membership plans to include/exclude for WooCommerce shipping methods to show up.
|
180 |
|
181 |
== Changelog ==
|
182 |
|
183 |
+
= 3.4.1 - 13/02/2018 =
|
184 |
+
* Fix - PRODUCTS - SKU - Search by SKU - `pre_get_posts` - `$wpdb->prefix` is used instead of hard-coded `wp_` prefix.
|
185 |
+
* Dev - SHIPPING & ORDERS - Shipping Descriptions - Description updated.
|
186 |
+
* Dev - SHIPPING & ORDERS - Shipping Icons - Description updated.
|
187 |
+
* Fix - EMAILS & MISC. - General - "Session Type in Booster" option fixed.
|
188 |
+
|
189 |
= 3.4.0 - 12/02/2018 =
|
190 |
* Fix - PRICES & CURRENCIES - Wholesale Price - Discount info on cart page - Price taxes display fixed.
|
191 |
* Fix - PRICES & CURRENCIES - Wholesale Price - Discount info on cart page - `price_directly` and `fixed` discount taxes display fixed.
|
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.
|
6 |
-
Version: 3.4.
|
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 = '3.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.
|
6 |
+
Version: 3.4.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 = '3.4.1';
|
61 |
|
62 |
/**
|
63 |
* @var WC_Jetpack The single instance of the class
|