Google Analytics Dashboard for WP (GADWP) - Version 4.4.6

Version Description

  • Bugfix: maintain compatibility with WordPress 3.0+
Download this release

Release Info

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

Code changes from version 4.4.5 to 4.4.6

Files changed (4) hide show
  1. admin/ajax-actions.php +3 -4
  2. front/ajax-actions.php +2 -2
  3. gadwp.php +2 -2
  4. readme.txt +4 -1
admin/ajax-actions.php CHANGED
@@ -5,7 +5,6 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
-
9
  if (! class_exists('GADASH_Backend_Ajax')) {
10
 
11
  final class GADASH_Backend_Ajax
@@ -24,16 +23,16 @@ if (! class_exists('GADASH_Backend_Ajax')) {
24
  'ajax_adminwidget_reports'
25
  ));
26
  }
27
-
28
  function send_json($response)
29
  {
30
  @header('Content-Type: application/json; charset=' . get_option('blog_charset'));
31
- echo wp_json_encode($response);
32
  if (defined('DOING_AJAX') && DOING_AJAX)
33
  wp_die();
34
  else
35
  die();
36
- }
37
 
38
  /**
39
  * Ajax handler for getting reports for Admin Widget
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
  if (! class_exists('GADASH_Backend_Ajax')) {
9
 
10
  final class GADASH_Backend_Ajax
23
  'ajax_adminwidget_reports'
24
  ));
25
  }
26
+
27
  function send_json($response)
28
  {
29
  @header('Content-Type: application/json; charset=' . get_option('blog_charset'));
30
+ echo json_encode($response);
31
  if (defined('DOING_AJAX') && DOING_AJAX)
32
  wp_die();
33
  else
34
  die();
35
+ }
36
 
37
  /**
38
  * Ajax handler for getting reports for Admin Widget
front/ajax-actions.php CHANGED
@@ -31,12 +31,12 @@ if (! class_exists('GADASH_Frontend_Ajax')) {
31
  function send_json($response)
32
  {
33
  @header('Content-Type: application/json; charset=' . get_option('blog_charset'));
34
- echo wp_json_encode($response);
35
  if (defined('DOING_AJAX') && DOING_AJAX)
36
  wp_die();
37
  else
38
  die();
39
- }
40
 
41
  /**
42
  * Ajax handler for getting analytics data for frontend Views vs UniqueViews
31
  function send_json($response)
32
  {
33
  @header('Content-Type: application/json; charset=' . get_option('blog_charset'));
34
+ echo json_encode($response);
35
  if (defined('DOING_AJAX') && DOING_AJAX)
36
  wp_die();
37
  else
38
  die();
39
+ }
40
 
41
  /**
42
  * Ajax handler for getting analytics data for frontend Views vs UniqueViews
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.5
8
  * Author URI: https://deconf.com
9
  */
10
- define('GADWP_CURRENT_VERSION', '4.4.5');
11
  /*
12
  * Include Install
13
  */
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.6
8
  * Author URI: https://deconf.com
9
  */
10
+ define('GADWP_CURRENT_VERSION', '4.4.6');
11
  /*
12
  * Include Install
13
  */
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: 3.0
6
  Tested up to: 4.1
7
- Stable tag: 4.4.5
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.5 =
130
  - Enhancement: GAPI requests optimization
131
  - Enhancement: server responses improvements
4
  Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
+ Stable tag: 4.4.6
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.6 =
130
+ - Bugfix: maintain compatibility with WordPress 3.0+
131
+
132
  = 4.4.5 =
133
  - Enhancement: GAPI requests optimization
134
  - Enhancement: server responses improvements