Google Analytics Dashboard for WP (GADWP) - Version 4.4.2

Version Description

  • Bug Fix: additioal check for frontend widget
Download this release

Release Info

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

Code changes from version 4.4.1 to 4.4.2

Files changed (3) hide show
  1. front/ajax-actions.php +6 -1
  2. gadwp.php +2 -2
  3. readme.txt +4 -1
front/ajax-actions.php CHANGED
@@ -119,7 +119,12 @@ if (! class_exists('GADASH_Frontend_Ajax')) {
119
  break;
120
  }
121
 
122
- ob_clean();
 
 
 
 
 
123
 
124
  if ($GADASH_Config->options['ga_dash_token'] and function_exists('curl_version') and $GADASH_Config->options['ga_dash_tableid_jail']) {
125
  include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
119
  break;
120
  }
121
 
122
+ ob_clean();
123
+
124
+ if (!is_active_widget(false,false,'gadash_frontend_widget')){
125
+ print(json_encode(- 30));
126
+ die();
127
+ }
128
 
129
  if ($GADASH_Config->options['ga_dash_token'] and function_exists('curl_version') and $GADASH_Config->options['ga_dash_tableid_jail']) {
130
  include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
gadwp.php CHANGED
@@ -4,10 +4,10 @@
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: 4.4.1
8
  * Author URI: https://deconf.com
9
  */
10
- define('GADWP_CURRENT_VERSION', '4.4.1');
11
 
12
  /*
13
  * Include Install
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: 4.4.2
8
  * Author URI: https://deconf.com
9
  */
10
+ define('GADWP_CURRENT_VERSION', '4.4.2');
11
 
12
  /*
13
  * Include Install
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://deconf.com/donate/
4
  Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
5
  Requires at least: 2.8
6
  Tested up to: 4.1
7
- Stable tag: 4.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -126,6 +126,9 @@ This plugin it's released under the GPLv2, you can use it free of charge on your
126
 
127
  == Changelog ==
128
 
 
 
 
129
  = 4.4.1 =
130
  - Bug Fix: frontend widget nonce issue while using a cache plugin, reported by [Rick](https://deconf.com/ask/author/rickbates/)
131
  - Bug Fix: clear the buffer immediately before returning AJAX response
4
  Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
5
  Requires at least: 2.8
6
  Tested up to: 4.1
7
+ Stable tag: 4.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
126
 
127
  == Changelog ==
128
 
129
+ = 4.4.2 =
130
+ - Bug Fix: additioal check for frontend widget
131
+
132
  = 4.4.1 =
133
  - Bug Fix: frontend widget nonce issue while using a cache plugin, reported by [Rick](https://deconf.com/ask/author/rickbates/)
134
  - Bug Fix: clear the buffer immediately before returning AJAX response