Google Analytics Dashboard for WP (GADWP) - Version 5.3.1

Version Description

  • Bug Fixes:
    • frontend_item_reports PHP notice when upgrading from a version lower than v4.8.0.1
Download this release

Release Info

Developer deconf
Plugin Icon 128x128 Google Analytics Dashboard for WP (GADWP)
Version 5.3.1
Comparing to
See all releases

Code changes from version 5.3 to 5.3.1

Files changed (4) hide show
  1. admin/settings.php +2 -0
  2. config.php +8 -7
  3. gadwp.php +2 -2
  4. readme.txt +8 -3
admin/settings.php CHANGED
@@ -1265,6 +1265,8 @@ final class GADWP_Settings {
1265
$error_report .= $sep . GADWP_Tools::get_cache( 'errors_count' );
1266
$error_report .= $sep . $info;
1267
1268
$url = GADWP_ENDPOINT_URL . 'gadwp-report.php';
1269
/* @formatter:off */
1270
$response = wp_remote_post( $url, array(
1265
$error_report .= $sep . GADWP_Tools::get_cache( 'errors_count' );
1266
$error_report .= $sep . $info;
1267
1268
+ $error_report = urldecode( $error_report );
1269
+
1270
$url = GADWP_ENDPOINT_URL . 'gadwp-report.php';
1271
/* @formatter:off */
1272
$response = wp_remote_post( $url, array(
config.php CHANGED
@@ -246,6 +246,13 @@ if ( ! class_exists( 'GADWP_Config' ) ) {
246
}
247
}
248
249
/* @formatter:off */
250
$zeros = array( 'ga_enhanced_links',
251
'network_mode',
@@ -287,6 +294,7 @@ if ( ! class_exists( 'GADWP_Config' ) ) {
287
'ga_optout', //v5.2.3
288
'ga_dnt_optout', //v5.2.3
289
'ga_with_gtag', //v5.3
290
);
291
foreach ( $zeros as $key ) {
292
if ( ! isset( $this->options[$key] ) ) {
@@ -295,13 +303,6 @@ if ( ! class_exists( 'GADWP_Config' ) ) {
295
}
296
}
297
298
- if ( isset( $this->options['item_reports'] ) ) { // v4.8
299
- $this->options['backend_item_reports'] = $this->options['item_reports'];
300
- }
301
- if ( isset( $this->options['ga_dash_frontend_stats'] ) ) { // v4.8
302
- $this->options['frontend_item_reports'] = $this->options['ga_dash_frontend_stats'];
303
- }
304
-
305
if ( isset($this->options['ga_dash_tracking']) && 0 == $this->options['ga_dash_tracking'] ) { // v5.0.1
306
$this->options['tracking_type'] = 'disabled';
307
$flag = true;
246
}
247
}
248
249
+ if ( isset( $this->options['item_reports'] ) ) { // v4.8
250
+ $this->options['backend_item_reports'] = $this->options['item_reports'];
251
+ }
252
+ if ( isset( $this->options['ga_dash_frontend_stats'] ) ) { // v4.8
253
+ $this->options['frontend_item_reports'] = $this->options['ga_dash_frontend_stats'];
254
+ }
255
+
256
/* @formatter:off */
257
$zeros = array( 'ga_enhanced_links',
258
'network_mode',
294
'ga_optout', //v5.2.3
295
'ga_dnt_optout', //v5.2.3
296
'ga_with_gtag', //v5.3
297
+ 'frontend_item_reports',
298
);
299
foreach ( $zeros as $key ) {
300
if ( ! isset( $this->options[$key] ) ) {
303
}
304
}
305
306
if ( isset($this->options['ga_dash_tracking']) && 0 == $this->options['ga_dash_tracking'] ) { // v5.0.1
307
$this->options['tracking_type'] = 'disabled';
308
$flag = true;
gadwp.php CHANGED
@@ -4,7 +4,7 @@
4
* Plugin URI: https://deconf.com
5
* Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
* Author: Alin Marcu
7
- * Version: 5.3
8
* Author URI: https://deconf.com
9
* Text Domain: google-analytics-dashboard-for-wp
10
* Domain Path: /languages
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) )
16
17
// Plugin Version
18
if ( ! defined( 'GADWP_CURRENT_VERSION' ) ) {
19
- define( 'GADWP_CURRENT_VERSION', '5.3' );
20
}
21
22
if ( ! defined( 'GADWP_ENDPOINT_URL' ) ) {
4
* Plugin URI: https://deconf.com
5
* Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
* Author: Alin Marcu
7
+ * Version: 5.3.1
8
* Author URI: https://deconf.com
9
* Text Domain: google-analytics-dashboard-for-wp
10
* Domain Path: /languages
16
17
// Plugin Version
18
if ( ! defined( 'GADWP_CURRENT_VERSION' ) ) {
19
+ define( 'GADWP_CURRENT_VERSION', '5.3.1' );
20
}
21
22
if ( ! defined( 'GADWP_ENDPOINT_URL' ) ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://deconf.com/donate/
4
Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget
5
Requires at least: 3.5
6
Tested up to: 4.9.4
7
- Stable tag: 5.3
8
Requires PHP: 5.2.4
9
License: GPLv2 or later
10
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -171,9 +171,14 @@ Google Analytics Dashboard for WP it's released under the GPLv2, you can use it
171
172
== Changelog ==
173
174
= 5.3 =
175
- * [release notes](https://deconf.com/adding-gtag-js-to-your-site/)
176
- * Enhancements:
177
* adds full support for Global Site Tag (gtag.js)
178
* remove Scroll Depth functionality, since this is now available as a trigger on Google Tag Manager
179
* adds custom dimensions support for AMP pages with Google Tag Manager tracking
4
Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget
5
Requires at least: 3.5
6
Tested up to: 4.9.4
7
+ Stable tag: 5.3.1
8
Requires PHP: 5.2.4
9
License: GPLv2 or later
10
License URI: http://www.gnu.org/licenses/gpl-2.0.html
171
172
== Changelog ==
173
174
+ [GADWP v5.3 release notes](https://deconf.com/adding-gtag-js-to-your-site/)
175
+
176
+ = 5.3.1 =
177
+ * Bug Fixes:
178
+ * frontend_item_reports PHP notice when upgrading from a version lower than v4.8.0.1
179
+
180
= 5.3 =
181
+ * Enhancements:
182
* adds full support for Global Site Tag (gtag.js)
183
* remove Scroll Depth functionality, since this is now available as a trigger on Google Tag Manager
184
* adds custom dimensions support for AMP pages with Google Tag Manager tracking