Booster for WooCommerce - Version 5.6.5

Version Description

12/09/2022 =

  • FIXED - Fatal Error: Cannot redeclare load_pluginclass()
  • FIXED - Fatal Error: Uncaught TypeError: implode(): Argument #1 ($pieces)....tracking/class-plugin-usage-tracker.php:413
  • FIXED - PHP Notice: Undefined index: wcj-cat in includes/admin/class-wc-settings-jetpack.php on line 203
Download this release

Release Info

Developer ronyp
Plugin Icon 128x128 Booster for WooCommerce
Version 5.6.5
Comparing to
See all releases

Code changes from version 5.6.4 to 5.6.5

includes/admin/class-wc-settings-jetpack.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings
4
  *
5
- * @version 5.6.2
6
  * @since 1.0.0
7
  * @author Pluggabl LLC.
8
  * @package Booster_For_WooCommerce/admin
@@ -192,15 +192,15 @@ if ( ! class_exists( 'WC_Settings_Jetpack' ) ) :
192
  /**
193
  * Output cats
194
  *
195
- * @version 5.6.2
196
  */
197
  public function output_cats_submenu() {
198
  global $current_section;
199
- $wpnonce = true;
200
  if ( function_exists( 'wp_verify_nonce' ) ) {
201
- $wpnonce = isset( $_REQUEST['_wpnonce'] ) ? wp_verify_nonce( sanitize_key( isset( $_REQUEST['_wpnonce'] ) ? $_REQUEST['_wpnonce'] : '' ) ) : true;
202
  }
203
- $current_cat = $wpnonce && empty( $_REQUEST['wcj-cat'] ) ? 'dashboard' : sanitize_title( wp_unslash( $_REQUEST['wcj-cat'] ) );
204
  if ( empty( $this->cats ) ) {
205
  return;}
206
  echo '<ul class="wcj-dashboard-header">';
2
  /**
3
  * Booster for WooCommerce - Settings
4
  *
5
+ * @version 5.6.5
6
  * @since 1.0.0
7
  * @author Pluggabl LLC.
8
  * @package Booster_For_WooCommerce/admin
192
  /**
193
  * Output cats
194
  *
195
+ * @version 5.6.5
196
  */
197
  public function output_cats_submenu() {
198
  global $current_section;
199
+ $wpnonce = false;
200
  if ( function_exists( 'wp_verify_nonce' ) ) {
201
+ $wpnonce = isset( $_REQUEST['_wpnonce'] ) ? wp_verify_nonce( sanitize_key( isset( $_REQUEST['_wpnonce'] ) ? $_REQUEST['_wpnonce'] : '' ), 'woocommerce-settings' ) : false;
202
  }
203
+ $current_cat = $wpnonce && isset( $_REQUEST['wcj-cat'] ) && ! empty( $_REQUEST['wcj-cat'] ) ? sanitize_title( wp_unslash( $_REQUEST['wcj-cat'] ) ) : 'dashboard';
204
  if ( empty( $this->cats ) ) {
205
  return;}
206
  echo '<ul class="wcj-dashboard-header">';
langs/woocommerce-jetpack.pot CHANGED
@@ -10,7 +10,7 @@ msgstr ""
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13
- "X-Generator: Poedit 2.0.6\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
  "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
@@ -20899,7 +20899,7 @@ msgid ""
20899
  "have not included the code snippet."
20900
  msgstr ""
20901
 
20902
- #: tracking/class-plugin-usage-tracker.php:888
20903
  #, php-format
20904
  msgid ""
20905
  "Thank you for installing our %1$s. We would like to track its usage on your "
@@ -20908,7 +20908,7 @@ msgid ""
20908
  "improvements to the %1$s. Tracking is completely optional."
20909
  msgstr ""
20910
 
20911
- #: tracking/class-plugin-usage-tracker.php:895
20912
  #, php-format
20913
  msgid ""
20914
  "Thank you for installing our %1$s. We'd like your permission to track its "
@@ -20917,79 +20917,79 @@ msgid ""
20917
  "help us make improvements to the %1$s. Tracking is completely optional."
20918
  msgstr ""
20919
 
20920
- #: tracking/class-plugin-usage-tracker.php:906
20921
  msgid "Allow"
20922
  msgstr ""
20923
 
20924
- #: tracking/class-plugin-usage-tracker.php:907
20925
  msgid "Do Not Allow"
20926
  msgstr ""
20927
 
20928
- #: tracking/class-plugin-usage-tracker.php:953
20929
  #, php-format
20930
  msgid ""
20931
  "Thank you for opting in to tracking. Would you like to receive occasional "
20932
  "news about this %s, including details of new features and special offers?"
20933
  msgstr ""
20934
 
20935
- #: tracking/class-plugin-usage-tracker.php:963
20936
  msgid "Yes Please"
20937
  msgstr ""
20938
 
20939
- #: tracking/class-plugin-usage-tracker.php:964
20940
  msgid "No Thank You"
20941
  msgstr ""
20942
 
20943
- #: tracking/class-plugin-usage-tracker.php:998
20944
  msgid "Sorry to see you go"
20945
  msgstr ""
20946
 
20947
- #: tracking/class-plugin-usage-tracker.php:999
20948
  msgid ""
20949
  "Before you deactivate the plugin, would you quickly give us your reason for "
20950
  "doing so?"
20951
  msgstr ""
20952
 
20953
- #: tracking/class-plugin-usage-tracker.php:1001
20954
  msgid "Set up is too difficult"
20955
  msgstr ""
20956
 
20957
- #: tracking/class-plugin-usage-tracker.php:1002
20958
  msgid "Lack of documentation"
20959
  msgstr ""
20960
 
20961
- #: tracking/class-plugin-usage-tracker.php:1003
20962
  msgid "Not the features I wanted"
20963
  msgstr ""
20964
 
20965
- #: tracking/class-plugin-usage-tracker.php:1004
20966
  msgid "Found a better plugin"
20967
  msgstr ""
20968
 
20969
- #: tracking/class-plugin-usage-tracker.php:1005
20970
  msgid "Installed by mistake"
20971
  msgstr ""
20972
 
20973
- #: tracking/class-plugin-usage-tracker.php:1006
20974
  msgid "Only required temporarily"
20975
  msgstr ""
20976
 
20977
- #: tracking/class-plugin-usage-tracker.php:1007
20978
  msgid "Didn't work"
20979
  msgstr ""
20980
 
20981
- #: tracking/class-plugin-usage-tracker.php:1009
20982
  msgid "Details (optional)"
20983
  msgstr ""
20984
 
20985
- #: tracking/class-plugin-usage-tracker.php:1050
20986
  msgid "Submitting form"
20987
  msgstr ""
20988
 
20989
- #: tracking/class-plugin-usage-tracker.php:1110
20990
  msgid "Submit and Deactivate"
20991
  msgstr ""
20992
 
20993
- #: tracking/class-plugin-usage-tracker.php:1110
20994
  msgid "Just Deactivate"
20995
  msgstr ""
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13
+ "X-Generator: Poedit 2.3\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
  "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
20899
  "have not included the code snippet."
20900
  msgstr ""
20901
 
20902
+ #: tracking/class-plugin-usage-tracker.php:891
20903
  #, php-format
20904
  msgid ""
20905
  "Thank you for installing our %1$s. We would like to track its usage on your "
20908
  "improvements to the %1$s. Tracking is completely optional."
20909
  msgstr ""
20910
 
20911
+ #: tracking/class-plugin-usage-tracker.php:898
20912
  #, php-format
20913
  msgid ""
20914
  "Thank you for installing our %1$s. We'd like your permission to track its "
20917
  "help us make improvements to the %1$s. Tracking is completely optional."
20918
  msgstr ""
20919
 
20920
+ #: tracking/class-plugin-usage-tracker.php:909
20921
  msgid "Allow"
20922
  msgstr ""
20923
 
20924
+ #: tracking/class-plugin-usage-tracker.php:910
20925
  msgid "Do Not Allow"
20926
  msgstr ""
20927
 
20928
+ #: tracking/class-plugin-usage-tracker.php:956
20929
  #, php-format
20930
  msgid ""
20931
  "Thank you for opting in to tracking. Would you like to receive occasional "
20932
  "news about this %s, including details of new features and special offers?"
20933
  msgstr ""
20934
 
20935
+ #: tracking/class-plugin-usage-tracker.php:966
20936
  msgid "Yes Please"
20937
  msgstr ""
20938
 
20939
+ #: tracking/class-plugin-usage-tracker.php:967
20940
  msgid "No Thank You"
20941
  msgstr ""
20942
 
20943
+ #: tracking/class-plugin-usage-tracker.php:1001
20944
  msgid "Sorry to see you go"
20945
  msgstr ""
20946
 
20947
+ #: tracking/class-plugin-usage-tracker.php:1002
20948
  msgid ""
20949
  "Before you deactivate the plugin, would you quickly give us your reason for "
20950
  "doing so?"
20951
  msgstr ""
20952
 
20953
+ #: tracking/class-plugin-usage-tracker.php:1004
20954
  msgid "Set up is too difficult"
20955
  msgstr ""
20956
 
20957
+ #: tracking/class-plugin-usage-tracker.php:1005
20958
  msgid "Lack of documentation"
20959
  msgstr ""
20960
 
20961
+ #: tracking/class-plugin-usage-tracker.php:1006
20962
  msgid "Not the features I wanted"
20963
  msgstr ""
20964
 
20965
+ #: tracking/class-plugin-usage-tracker.php:1007
20966
  msgid "Found a better plugin"
20967
  msgstr ""
20968
 
20969
+ #: tracking/class-plugin-usage-tracker.php:1008
20970
  msgid "Installed by mistake"
20971
  msgstr ""
20972
 
20973
+ #: tracking/class-plugin-usage-tracker.php:1009
20974
  msgid "Only required temporarily"
20975
  msgstr ""
20976
 
20977
+ #: tracking/class-plugin-usage-tracker.php:1010
20978
  msgid "Didn't work"
20979
  msgstr ""
20980
 
20981
+ #: tracking/class-plugin-usage-tracker.php:1012
20982
  msgid "Details (optional)"
20983
  msgstr ""
20984
 
20985
+ #: tracking/class-plugin-usage-tracker.php:1053
20986
  msgid "Submitting form"
20987
  msgstr ""
20988
 
20989
+ #: tracking/class-plugin-usage-tracker.php:1113
20990
  msgid "Submit and Deactivate"
20991
  msgstr ""
20992
 
20993
+ #: tracking/class-plugin-usage-tracker.php:1113
20994
  msgid "Just Deactivate"
20995
  msgstr ""
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: 6.0.2
6
  Requires PHP: 7.2
7
- Stable tag: 5.6.4
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -275,6 +275,12 @@ To unlock all Booster for WooCommerce features, please install additional paid B
275
 
276
  == Changelog ==
277
 
 
 
 
 
 
 
278
  = 5.6.4 05/09/2022 =
279
 
280
  * FIXED - CART & CHECKOUT - Checkout Files Upload - Fixed critical error on this module.
4
  Requires at least: 4.4
5
  Tested up to: 6.0.2
6
  Requires PHP: 7.2
7
+ Stable tag: 5.6.5
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
275
 
276
  == Changelog ==
277
 
278
+ = 5.6.5 12/09/2022 =
279
+
280
+ * FIXED - Fatal Error: Cannot redeclare _load_plugin_class()
281
+ * FIXED - Fatal Error: Uncaught TypeError: implode(): Argument #1 ($pieces)....tracking/class-plugin-usage-tracker.php:413
282
+ * FIXED - PHP Notice: Undefined index: wcj-cat in includes/admin/class-wc-settings-jetpack.php on line 203
283
+
284
  = 5.6.4 05/09/2022 =
285
 
286
  * FIXED - CART & CHECKOUT - Checkout Files Upload - Fixed critical error on this module.
tracking/class-plugin-usage-tracker.php CHANGED
@@ -3,7 +3,7 @@
3
  * This is the class that sends all the data back to the home site
4
  * It also handles opting in and deactivation
5
  *
6
- * @version 5.5.9
7
  * @package Booster_For_WooCommerce/tracking
8
  */
9
 
@@ -410,6 +410,9 @@ if ( ! class_exists( 'Plugin_Usage_Tracker' ) ) {
410
  global $wpdb;
411
  global $tracked_module;
412
 
 
 
 
413
  $names = implode( '\', \'', $tracked_module );
414
 
415
  $boosterActivePlugins = $wpdb->get_results( "SELECT `option_name` FROM $wpdb->options WHERE `autoload` = 'yes' AND `option_value` = 'yes' AND `option_name` IN ('.$names.')" );
3
  * This is the class that sends all the data back to the home site
4
  * It also handles opting in and deactivation
5
  *
6
+ * @version 5.6.5
7
  * @package Booster_For_WooCommerce/tracking
8
  */
9
 
410
  global $wpdb;
411
  global $tracked_module;
412
 
413
+ if ( ! isset( $tracked_module ) ) {
414
+ return $body;
415
+ }
416
  $names = implode( '\', \'', $tracked_module );
417
 
418
  $boosterActivePlugins = $wpdb->get_results( "SELECT `option_name` FROM $wpdb->options WHERE `autoload` = 'yes' AND `option_value` = 'yes' AND `option_name` IN ('.$names.')" );
version-details.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "0" : "= 5.6.4 05/09/2022 =",
3
- "1" : "* FIXED - CART & CHECKOUT - Checkout Files Upload - Fixed critical error on this module.",
4
- "2" : "* FIXED - CART & CHECKOUT - Checkout Fees - Fixed issue with fee applicable with checkout custom field in checkout page.",
5
- "3" : "* FIXED - EMAILS & MISC. - Modules By User Roles - Fixed confict with SMTP Plugins."
6
  }
1
  {
2
+ "0" : "= 5.6.5 12/09/2022 =",
3
+ "1" : "* FIXED - Fatal Error: Cannot redeclare _load_plugin_class()",
4
+ "2" : "* FIXED - Fatal Error: Uncaught TypeError: implode(): Argument #1 ($pieces)....tracking/class-plugin-usage-tracker.php:413",
5
+ "3" : "* FIXED - PHP Notice: Undefined index: wcj-cat in includes/admin/class-wc-settings-jetpack.php on line 203"
6
  }
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.6.4
7
  * Author: Pluggabl LLC
8
  * Author URI: https://booster.io
9
  * Text Domain: woocommerce-jetpack
@@ -65,7 +65,7 @@ if ( ! class_exists( 'WC_Jetpack' ) ) :
65
  * @var string
66
  * @since 2.4.7
67
  */
68
- public $version = '5.6.4';
69
 
70
  /**
71
  * The single instance of the class
@@ -163,11 +163,7 @@ if ( ! function_exists( 'woocommerce_jetpack_start_plugin_tracking' ) ) {
163
  woocommerce_jetpack_start_plugin_tracking();
164
  }
165
 
166
- add_action( 'plugins_loaded', '_load_plugin_class' );
167
-
168
- function _load_plugin_class() {
169
- w_c_j();
170
- }
171
 
172
 
173
  /**
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.6.5
7
  * Author: Pluggabl LLC
8
  * Author URI: https://booster.io
9
  * Text Domain: woocommerce-jetpack
65
  * @var string
66
  * @since 2.4.7
67
  */
68
+ public $version = '5.6.5';
69
 
70
  /**
71
  * The single instance of the class
163
  woocommerce_jetpack_start_plugin_tracking();
164
  }
165
 
166
+ add_action( 'plugins_loaded', 'w_c_j' );
 
 
 
 
167
 
168
 
169
  /**