Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, Facebook and more - Version 1.17.2

Version Description

13.05.2022

  • Fix: Additional safeguard to check for array when checking for updates
Download this release

Release Info

Developer alekv
Plugin Icon 128x128 Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, Facebook and more
Version 1.17.2
Comparing to
See all releases

Code changes from version 1.17.1 to 1.17.2

classes/admin/class-environment-check.php CHANGED
@@ -80,7 +80,13 @@ class Environment_Check {
80
 
81
  public function upgrader_flush_cache_if_pmw_was_updated( $upgrader_object, $options ) {
82
 
83
- if ('plugin' === $options['type'] && in_array(WPM_PLUGIN_BASE_NAME, $options['plugins'], true)) {
 
 
 
 
 
 
84
  $this->flush_cache_of_all_cache_plugins();
85
  }
86
  }
80
 
81
  public function upgrader_flush_cache_if_pmw_was_updated( $upgrader_object, $options ) {
82
 
83
+ if (
84
+ isset($options['type']) &&
85
+ 'plugin' === $options['type'] &&
86
+ isset($options['plugins']) &&
87
+ is_array($options['plugins']) &&
88
+ in_array(WPM_PLUGIN_BASE_NAME, $options['plugins'], true)
89
+ ) {
90
  $this->flush_cache_of_all_cache_plugins();
91
  }
92
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, google ads, google analytics, facebook pixel, conversion trac
4
  Requires at least: 3.7
5
  Tested up to: 5.9
6
  Requires PHP: 7.3
7
- Stable tag: 1.17.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -186,6 +186,10 @@ You can send the link to the front page of your shop too if you think it would b
186
 
187
  == Changelog ==
188
 
 
 
 
 
189
  = 1.17.1 = 12.05.2022
190
 
191
  * Tweak: Adjusted db query for clv order total
4
  Requires at least: 3.7
5
  Tested up to: 5.9
6
  Requires PHP: 7.3
7
+ Stable tag: 1.17.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
186
 
187
  == Changelog ==
188
 
189
+ = 1.17.2 = 13.05.2022
190
+
191
+ * Fix: Additional safeguard to check for array when checking for updates
192
+
193
  = 1.17.1 = 12.05.2022
194
 
195
  * Tweak: Adjusted db query for clv order total
wgact.php CHANGED
@@ -10,7 +10,7 @@
10
  * Developer URI: https://sweetcode.com
11
  * Text Domain: woocommerce-google-adwords-conversion-tracking-tag
12
  * Domain path: /languages
13
- * * Version: 1.17.1
14
  *
15
  * WC requires at least: 3.7
16
  * WC tested up to: 6.4
@@ -20,7 +20,7 @@
20
  *
21
  *
22
  **/
23
- const WPM_CURRENT_VERSION = '1.17.1' ;
24
  // TODO export settings function
25
  // TODO add option checkbox on uninstall and ask if user wants to delete options from db
26
 
10
  * Developer URI: https://sweetcode.com
11
  * Text Domain: woocommerce-google-adwords-conversion-tracking-tag
12
  * Domain path: /languages
13
+ * * Version: 1.17.2
14
  *
15
  * WC requires at least: 3.7
16
  * WC tested up to: 6.4
20
  *
21
  *
22
  **/
23
+ const WPM_CURRENT_VERSION = '1.17.2' ;
24
  // TODO export settings function
25
  // TODO add option checkbox on uninstall and ask if user wants to delete options from db
26