Version Description
Download this release
Release Info
| Developer | mikkamp |
| Plugin | |
| Version | 1.4.18 |
| Comparing to | |
| See all releases | |
Code changes from version 1.4.17 to 1.4.18
assets/js/admin-enhanced-settings.min.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
jQuery(document).ready(function(e){var c=e(".enhanced-setting").parent().parent().parent().parent(),a=e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").parent().parent().parent().parent();!1===e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").is(":checked")&&c.hide(),!1===e("#woocommerce_google_analytics_ga_use_universal_analytics").is(":checked")&&(c.hide(),a.hide()),e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").on("click",function(){!1===e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").is(":checked")?c.hide():c.show()}),e("#woocommerce_google_analytics_ga_use_universal_analytics").on("click",function(){!1===e("#woocommerce_google_analytics_ga_use_universal_analytics").is(":checked")?(c.hide(),a.hide()):(!0===e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").is(":checked")&&c.show(),a.show())})});
|
| 1 |
+
jQuery(document).ready(function(e){var c=e(".enhanced-setting").parent().parent().parent().parent(),a=e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").parent().parent().parent().parent();!1===e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").is(":checked")&&c.hide(),!1===e("#woocommerce_google_analytics_ga_use_universal_analytics").is(":checked")&&(c.hide(),a.hide()),e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").on("click",function(){!1===e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").is(":checked")?c.hide():c.show()}),e("#woocommerce_google_analytics_ga_use_universal_analytics").on("click",function(){!1===e("#woocommerce_google_analytics_ga_use_universal_analytics").is(":checked")?(c.hide(),a.hide()):(!0===e("#woocommerce_google_analytics_ga_enhanced_ecommerce_tracking_enabled").is(":checked")&&c.show(),a.show())})});
|
changelog.txt
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
*** Changelog ***
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
= 1.4.17 - 2020-01-13 =
|
| 4 |
* Tweak - Update constant VERSION in plugin file
|
| 5 |
|
| 1 |
*** Changelog ***
|
| 2 |
|
| 3 |
+
= 1.4.18 - 2020-03-04 =
|
| 4 |
+
* Tweak - Use code sniff version.
|
| 5 |
+
* Tweak - WC 4.0 compatibility.
|
| 6 |
+
|
| 7 |
= 1.4.17 - 2020-01-13 =
|
| 8 |
* Tweak - Update constant VERSION in plugin file
|
| 9 |
|
includes/class-wc-google-analytics.php
CHANGED
|
@@ -270,7 +270,7 @@ class WC_Google_Analytics extends WC_Integration {
|
|
| 270 |
return;
|
| 271 |
}
|
| 272 |
|
| 273 |
-
wp_enqueue_script( 'wc-google-analytics-admin-enhanced-settings', plugins_url(
|
| 274 |
}
|
| 275 |
|
| 276 |
/**
|
| 270 |
return;
|
| 271 |
}
|
| 272 |
|
| 273 |
+
wp_enqueue_script( 'wc-google-analytics-admin-enhanced-settings', plugins_url( '/assets/js/admin-enhanced-settings.js', dirname( __FILE__ ) ), array(), WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION, true );
|
| 274 |
}
|
| 275 |
|
| 276 |
/**
|
languages/woocommerce-google-analytics-integration.pot
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
-
# Copyright (C)
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Google Analytics Integration 1.4.
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
-
"https://
|
| 8 |
-
"
|
| 9 |
-
"POT-Creation-Date:
|
| 10 |
"MIME-Version: 1.0\n"
|
| 11 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 12 |
"Content-Transfer-Encoding: 8bit\n"
|
| 13 |
-
"PO-Revision-Date:
|
| 14 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 15 |
-
"Language-Team: LANGUAGE <
|
| 16 |
-
"X-Generator:
|
| 17 |
|
| 18 |
#: includes/class-wc-google-analytics-info-banner.php:57
|
| 19 |
msgid "Google Analytics & WooCommerce"
|
|
@@ -212,15 +212,15 @@ msgstr ""
|
|
| 212 |
msgid "ID:"
|
| 213 |
msgstr ""
|
| 214 |
|
| 215 |
-
#: woocommerce-google-analytics-integration.php:
|
| 216 |
msgid "Settings"
|
| 217 |
msgstr ""
|
| 218 |
|
| 219 |
-
#: woocommerce-google-analytics-integration.php:
|
| 220 |
msgid "Support"
|
| 221 |
msgstr ""
|
| 222 |
|
| 223 |
-
#: woocommerce-google-analytics-integration.php:
|
| 224 |
msgid "WooCommerce Google Analytics depends on the last version of %s to work!"
|
| 225 |
msgstr ""
|
| 226 |
|
|
@@ -228,11 +228,11 @@ msgstr ""
|
|
| 228 |
msgid "WooCommerce"
|
| 229 |
msgstr ""
|
| 230 |
|
| 231 |
-
#: woocommerce-google-analytics-integration.php:
|
| 232 |
msgid "Get detailed insights into your sales with Google Analytics Pro"
|
| 233 |
msgstr ""
|
| 234 |
|
| 235 |
-
#: woocommerce-google-analytics-integration.php:
|
| 236 |
#. translators: 1: href link to GA pro
|
| 237 |
msgid ""
|
| 238 |
"Add advanced tracking for your sales funnel, coupons and more. [<a "
|
| 1 |
+
# Copyright (C) 2020 WooCommerce
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Google Analytics Integration 1.4.18\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
+
"https://wordpress.org/support/plugin/woocommerce-google-analytics-"
|
| 8 |
+
"integration\n"
|
| 9 |
+
"POT-Creation-Date: 2020-03-04 10:07:43+00:00\n"
|
| 10 |
"MIME-Version: 1.0\n"
|
| 11 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 12 |
"Content-Transfer-Encoding: 8bit\n"
|
| 13 |
+
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
|
| 14 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 15 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
| 16 |
+
"X-Generator: node-wp-i18n 1.2.3\n"
|
| 17 |
|
| 18 |
#: includes/class-wc-google-analytics-info-banner.php:57
|
| 19 |
msgid "Google Analytics & WooCommerce"
|
| 212 |
msgid "ID:"
|
| 213 |
msgstr ""
|
| 214 |
|
| 215 |
+
#: woocommerce-google-analytics-integration.php:72
|
| 216 |
msgid "Settings"
|
| 217 |
msgstr ""
|
| 218 |
|
| 219 |
+
#: woocommerce-google-analytics-integration.php:73
|
| 220 |
msgid "Support"
|
| 221 |
msgstr ""
|
| 222 |
|
| 223 |
+
#: woocommerce-google-analytics-integration.php:111
|
| 224 |
msgid "WooCommerce Google Analytics depends on the last version of %s to work!"
|
| 225 |
msgstr ""
|
| 226 |
|
| 228 |
msgid "WooCommerce"
|
| 229 |
msgstr ""
|
| 230 |
|
| 231 |
+
#: woocommerce-google-analytics-integration.php:143
|
| 232 |
msgid "Get detailed insights into your sales with Google Analytics Pro"
|
| 233 |
msgstr ""
|
| 234 |
|
| 235 |
+
#: woocommerce-google-analytics-integration.php:146
|
| 236 |
#. translators: 1: href link to GA pro
|
| 237 |
msgid ""
|
| 238 |
"Add advanced tracking for your sales funnel, coupons and more. [<a "
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: woocommerce, claudiosanches, bor0, royho, laurendavissmith001, c-s
|
|
| 3 |
Tags: woocommerce, google analytics
|
| 4 |
Requires at least: 3.9
|
| 5 |
Tested up to: 5.3
|
| 6 |
-
Stable tag: 1.4.
|
| 7 |
License: GPLv3
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 9 |
|
| 3 |
Tags: woocommerce, google analytics
|
| 4 |
Requires at least: 3.9
|
| 5 |
Tested up to: 5.3
|
| 6 |
+
Stable tag: 1.4.18
|
| 7 |
License: GPLv3
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 9 |
|
woocommerce-google-analytics-integration.php
CHANGED
|
@@ -5,9 +5,9 @@
|
|
| 5 |
* Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
|
| 6 |
* Author: WooCommerce
|
| 7 |
* Author URI: https://woocommerce.com
|
| 8 |
-
* Version: 1.4.
|
| 9 |
* WC requires at least: 2.1
|
| 10 |
-
* WC tested up to:
|
| 11 |
* Tested up to: 5.3
|
| 12 |
* License: GPLv2 or later
|
| 13 |
* Text Domain: woocommerce-google-analytics-integration
|
|
@@ -20,18 +20,13 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 20 |
|
| 21 |
if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
|
| 22 |
|
|
|
|
|
|
|
| 23 |
/**
|
| 24 |
* WooCommerce Google Analytics Integration main class.
|
| 25 |
*/
|
| 26 |
class WC_Google_Analytics_Integration {
|
| 27 |
|
| 28 |
-
/**
|
| 29 |
-
* Plugin version.
|
| 30 |
-
*
|
| 31 |
-
* @var string
|
| 32 |
-
*/
|
| 33 |
-
const VERSION = '1.4.17';
|
| 34 |
-
|
| 35 |
/**
|
| 36 |
* Instance of this class.
|
| 37 |
*
|
| 5 |
* Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
|
| 6 |
* Author: WooCommerce
|
| 7 |
* Author URI: https://woocommerce.com
|
| 8 |
+
* Version: 1.4.18
|
| 9 |
* WC requires at least: 2.1
|
| 10 |
+
* WC tested up to: 4.0
|
| 11 |
* Tested up to: 5.3
|
| 12 |
* License: GPLv2 or later
|
| 13 |
* Text Domain: woocommerce-google-analytics-integration
|
| 20 |
|
| 21 |
if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
|
| 22 |
|
| 23 |
+
define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.4.18' ); // WRCS: DEFINED_VERSION.
|
| 24 |
+
|
| 25 |
/**
|
| 26 |
* WooCommerce Google Analytics Integration main class.
|
| 27 |
*/
|
| 28 |
class WC_Google_Analytics_Integration {
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
/**
|
| 31 |
* Instance of this class.
|
| 32 |
*
|
