Version Description
14.08.2022
- Tweak: Added safeguard if function as_enqueue_async_action isn't available.
Download this release
Release Info
Developer | alekv |
Plugin | Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, Facebook and more |
Version | 1.19.4 |
Comparing to | |
See all releases |
Code changes from version 1.19.3 to 1.19.4
- readme.txt +5 -1
- wgact.php +3 -3
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, google analytics, google ads, facebook, conversion tracking,
|
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 7.3
|
7 |
-
Stable tag: 1.19.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -198,6 +198,10 @@ You can send the link to the front page of your shop too if you think it would b
|
|
198 |
|
199 |
== Changelog ==
|
200 |
|
|
|
|
|
|
|
|
|
201 |
= 1.19.3 = 14.08.2022
|
202 |
|
203 |
* Tweak: Performance improvements for the new Diagnostics page.
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 7.3
|
7 |
+
Stable tag: 1.19.4
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
198 |
|
199 |
== Changelog ==
|
200 |
|
201 |
+
= 1.19.4 = 14.08.2022
|
202 |
+
|
203 |
+
* Tweak: Added safeguard if function as_enqueue_async_action isn't available.
|
204 |
+
|
205 |
= 1.19.3 = 14.08.2022
|
206 |
|
207 |
* Tweak: Performance improvements for the new Diagnostics page.
|
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.19.
|
14 |
*
|
15 |
* WC requires at least: 3.7
|
16 |
* WC tested up to: 6.8
|
@@ -19,7 +19,7 @@
|
|
19 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
**/
|
22 |
-
const WPM_CURRENT_VERSION = '1.19.
|
23 |
// TODO export settings function
|
24 |
// TODO add option checkbox on uninstall and ask if user wants to delete options from db
|
25 |
|
@@ -282,7 +282,7 @@ if ( function_exists( 'wpm_fs' ) ) {
|
|
282 |
if ( is_admin() ) {
|
283 |
// If the tracking accuracy has not been run yet, run it immediately in the background.
|
284 |
|
285 |
-
if ( !get_transient( 'pmw_tracking_accuracy_analysis' ) && !get_transient( 'pmw_tracking_accuracy_analysis_running_in_as' ) ) {
|
286 |
// Set a transient for 5 minutes for pmw_tracking_accuracy_analysis_running_in_as
|
287 |
// This is a workaround because as_enqueue_async_action is buggy
|
288 |
// https://github.com/woocommerce/action-scheduler/issues/839
|
10 |
* Developer URI: https://sweetcode.com
|
11 |
* Text Domain: woocommerce-google-adwords-conversion-tracking-tag
|
12 |
* Domain path: /languages
|
13 |
+
* * Version: 1.19.4
|
14 |
*
|
15 |
* WC requires at least: 3.7
|
16 |
* WC tested up to: 6.8
|
19 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
**/
|
22 |
+
const WPM_CURRENT_VERSION = '1.19.4' ;
|
23 |
// TODO export settings function
|
24 |
// TODO add option checkbox on uninstall and ask if user wants to delete options from db
|
25 |
|
282 |
if ( is_admin() ) {
|
283 |
// If the tracking accuracy has not been run yet, run it immediately in the background.
|
284 |
|
285 |
+
if ( function_exists( 'as_enqueue_async_action' ) && !get_transient( 'pmw_tracking_accuracy_analysis' ) && !get_transient( 'pmw_tracking_accuracy_analysis_running_in_as' ) ) {
|
286 |
// Set a transient for 5 minutes for pmw_tracking_accuracy_analysis_running_in_as
|
287 |
// This is a workaround because as_enqueue_async_action is buggy
|
288 |
// https://github.com/woocommerce/action-scheduler/issues/839
|