Google Analytics - Version 2.4.1

Version Description

  • Fix admin error.
Download this release

Release Info

Developer ShareThis
Plugin Icon wp plugin Google Analytics
Version 2.4.1
Comparing to
See all releases

Code changes from version 2.4.0 to 2.4.1

Files changed (3) hide show
  1. class/Ga_Admin.php +2 -1
  2. googleanalytics.php +1 -1
  3. readme.txt +4 -1
class/Ga_Admin.php CHANGED
@@ -858,7 +858,8 @@ class Ga_Admin {
858
  private static function checkDataDate()
859
  {
860
  $demo_enabled = get_option('googleanalytics_demographic');
861
- $demo_date = !empty(get_option('googleanalytics_demo_date')) ? strtotime(get_option('googleanalytics_demo_date')) : '';
 
862
  $thirty_date = '' !== $demo_date ? date("Y-m-d", strtotime("+1 month", $demo_date)) : '';
863
 
864
  if (empty($demo_enabled) || !$demo_enabled) {
858
  private static function checkDataDate()
859
  {
860
  $demo_enabled = get_option('googleanalytics_demographic');
861
+ $demo_date = get_option('googleanalytics_demo_date');
862
+ $demo_date = !empty($demo_date) ? strtotime($demo_date) : '';
863
  $thirty_date = '' !== $demo_date ? date("Y-m-d", strtotime("+1 month", $demo_date)) : '';
864
 
865
  if (empty($demo_enabled) || !$demo_enabled) {
googleanalytics.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Google Analytics
5
  * Plugin URI: http://wordpress.org/extend/plugins/googleanalytics/
6
  * Description: Use Google Analytics on your WordPress site without touching any code, and view visitor reports right in your WordPress admin dashboard!
7
- * Version: 2.4.0
8
  * Author: ShareThis
9
  * Author URI: http://sharethis.com
10
  */
4
  * Plugin Name: Google Analytics
5
  * Plugin URI: http://wordpress.org/extend/plugins/googleanalytics/
6
  * Description: Use Google Analytics on your WordPress site without touching any code, and view visitor reports right in your WordPress admin dashboard!
7
+ * Version: 2.4.1
8
  * Author: ShareThis
9
  * Author URI: http://sharethis.com
10
  */
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: sharethis, scottstorebloom
3
  Tags: analytics, google analytics, google analytics plugin, google analytics widget, google analytics dashboard
4
  Requires at least: 3.8
5
  Tested up to: 5.5.1
6
- Stable tag: 2.4.0
7
 
8
  Use Google Analytics on your Wordpress site without touching any code, and view visitor reports right in your Wordpress admin dashboard!
9
 
@@ -89,6 +89,9 @@ We are always happy to help.
89
 
90
  == Changelog ==
91
 
 
 
 
92
  = 2.4.0 =
93
  * Add GDPR compliance tool integration.
94
  * Add Demographic data chart option.
3
  Tags: analytics, google analytics, google analytics plugin, google analytics widget, google analytics dashboard
4
  Requires at least: 3.8
5
  Tested up to: 5.5.1
6
+ Stable tag: 2.4.1
7
 
8
  Use Google Analytics on your Wordpress site without touching any code, and view visitor reports right in your Wordpress admin dashboard!
9
 
89
 
90
  == Changelog ==
91
 
92
+ = 2.4.1 =
93
+ * Fix admin error.
94
+
95
  = 2.4.0 =
96
  * Add GDPR compliance tool integration.
97
  * Add Demographic data chart option.