Google Analyticator - Version 6.5.2

Version Description

  • Small fix to widget markup.
Download this release

Release Info

Developer grimmdude
Plugin Icon 128x128 Google Analyticator
Version 6.5.2
Comparing to
See all releases

Code changes from version 6.5.1 to 6.5.2

class.analytics.stats.php CHANGED
@@ -24,7 +24,7 @@ class GoogleAnalyticsStats
24
 
25
  # Include SimplePie if it doesn't exist
26
  if ( !class_exists('SimplePie') ) {
27
- require_once (ABSPATH . WPINC . '/class-feed.php');
28
  }
29
 
30
  if ( !class_exists('Google_Client') ) {
24
 
25
  # Include SimplePie if it doesn't exist
26
  if ( !class_exists('SimplePie') ) {
27
+ @require_once (ABSPATH . WPINC . '/class-feed.php');
28
  }
29
 
30
  if ( !class_exists('Google_Client') ) {
google-analyticator.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
- * Version: 6.5.1
5
  * Plugin URI: http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt
6
  * Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin you need to authenticate with Google, then select your domain and you're set.
7
  * Author: SumoMe
@@ -12,7 +12,7 @@
12
  //error_reporting(E_ALL);
13
  //ini_set('display_errors', '1');
14
 
15
- define('GOOGLE_ANALYTICATOR_VERSION', '6.5.1');
16
 
17
  define('GOOGLE_ANALYTICATOR_CLIENTID', '1007949979410.apps.googleusercontent.com');
18
  define('GOOGLE_ANALYTICATOR_CLIENTSECRET', 'q06U41XDXtzaXD14E-KO1hti'); //don't worry - this don't need to be secret in our case
@@ -555,7 +555,7 @@ if(!$addons){?>
555
 
556
  if( $useAuth ):
557
 
558
- $uids = @ga_get_analytics_accounts();
559
 
560
  echo "<select name='".key_ga_uid."'> ";
561
 
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
+ * Version: 6.5.2
5
  * Plugin URI: http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt
6
  * Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin you need to authenticate with Google, then select your domain and you're set.
7
  * Author: SumoMe
12
  //error_reporting(E_ALL);
13
  //ini_set('display_errors', '1');
14
 
15
+ define('GOOGLE_ANALYTICATOR_VERSION', '6.5.2');
16
 
17
  define('GOOGLE_ANALYTICATOR_CLIENTID', '1007949979410.apps.googleusercontent.com');
18
  define('GOOGLE_ANALYTICATOR_CLIENTSECRET', 'q06U41XDXtzaXD14E-KO1hti'); //don't worry - this don't need to be secret in our case
555
 
556
  if( $useAuth ):
557
 
558
+ $uids = ga_get_analytics_accounts();
559
 
560
  echo "<select name='".key_ga_uid."'> ";
561
 
google-analytics-stats-widget.php CHANGED
@@ -189,8 +189,10 @@ class GoogleStatsWidget extends WP_Widget
189
 
190
  // The following is used to displayed the "Powered By Google Anayltics" text.
191
  if (get_option(key_ga_show_ad) == '1') {
192
- echo '<div style="font-size:9px;color:#666666;margin-top:0px;font-family:Verdana;">Powered By <a href="https://wordpress.org/plugins/google-analyticator/" title="Google Analyticator for Wordpress" style="text-decoration:none;" target="_blank"><img src="' . plugins_url('/google-analyticator/ga_logo.png') . '" alt="Google Analytics" style="border:0px;position:relative;top:4px;" /></a></div></div>';
193
  }
 
 
194
  }
195
 
196
  /**
189
 
190
  // The following is used to displayed the "Powered By Google Anayltics" text.
191
  if (get_option(key_ga_show_ad) == '1') {
192
+ echo '<div style="font-size:9px;color:#666666;margin-top:0px;font-family:Verdana;">Powered By <a href="https://wordpress.org/plugins/google-analyticator/" title="Google Analyticator for Wordpress" style="text-decoration:none;" target="_blank"><img src="' . plugins_url('/google-analyticator/ga_logo.png') . '" alt="Google Analytics" style="border:0px;position:relative;top:4px;" /></a></div>';
193
  }
194
+
195
+ echo '</div>';
196
  }
197
 
198
  /**
readme.txt CHANGED
@@ -74,6 +74,9 @@ For any support issues, please use the official WordPress support forums.
74
 
75
  == Changelog ==
76
 
 
 
 
77
  = 6.5.1 =
78
  * Fix depricated classname constructors.
79
  * Fix issue with being unable to deactivate and reset from settings screen.
74
 
75
  == Changelog ==
76
 
77
+ = 6.5.2 =
78
+ * Small fix to widget markup.
79
+
80
  = 6.5.1 =
81
  * Fix depricated classname constructors.
82
  * Fix issue with being unable to deactivate and reset from settings screen.