Google Analyticator - Version 5.3.1

Version Description

  • Corrects a fatal error on the settings page under WordPress 2.7.
Download this release

Release Info

Developer cavemonkey50
Plugin Icon 128x128 Google Analyticator
Version 5.3.1
Comparing to
See all releases

Code changes from version 5.3 to 5.3.1

Files changed (2) hide show
  1. google-analyticator.php +4 -2
  2. readme.txt +4 -1
google-analyticator.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
- * Version: 5.3
5
  * Plugin URI: http://plugins.spiralwebconsulting.com/analyticator.html
6
  * Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin visit <a href="options-general.php?page=google-analyticator.php">the settings page</a> and enter your Google Analytics' UID and enable logging.
7
  * Author: Spiral Web Consulting
@@ -9,7 +9,7 @@
9
  * Text Domain: google-analyticator
10
  */
11
 
12
- define('GOOGLE_ANALYTICATOR_VERSION', '5.3');
13
 
14
  // Constants for enabled/disabled state
15
  define("ga_enabled", "enabled", true);
@@ -686,6 +686,7 @@ function ga_options_page() {
686
  **/
687
  function ga_admin_ajax()
688
  {
 
689
  ?>
690
  <script type="text/javascript">
691
 
@@ -713,6 +714,7 @@ function ga_admin_ajax()
713
 
714
  </script>
715
  <?php
 
716
  }
717
 
718
  # Look for the ajax list call
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
+ * Version: 5.3.1
5
  * Plugin URI: http://plugins.spiralwebconsulting.com/analyticator.html
6
  * Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin visit <a href="options-general.php?page=google-analyticator.php">the settings page</a> and enter your Google Analytics' UID and enable logging.
7
  * Author: Spiral Web Consulting
9
  * Text Domain: google-analyticator
10
  */
11
 
12
+ define('GOOGLE_ANALYTICATOR_VERSION', '5.3.1');
13
 
14
  // Constants for enabled/disabled state
15
  define("ga_enabled", "enabled", true);
686
  **/
687
  function ga_admin_ajax()
688
  {
689
+ if ( function_exists('register_widget') ) {
690
  ?>
691
  <script type="text/javascript">
692
 
714
 
715
  </script>
716
  <?php
717
+ }
718
  }
719
 
720
  # Look for the ajax list call
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://plugins.spiralwebconsulting.com/analyticator.html#donate
4
  Tags: stats, statistics, google, analytics, google analytics, tracking, widget
5
  Requires at least: 2.7
6
  Tested up to: 2.8.3
7
- Stable tag: 5.3
8
 
9
  Adds the necessary JavaScript code to enable Google Analytics. Includes widgets for Analytics data display.
10
 
@@ -52,6 +52,9 @@ Please visit [Spiral Web Consulting's forum](http://plugins.spiralwebconsulting.
52
 
53
  == Changelog ==
54
 
 
 
 
55
  = 5.3 =
56
  * Converts API data call to AJAX to reduce the memory needed on page loads.
57
  * Removes memory_limit alterations, since the default amount should be enough now.
4
  Tags: stats, statistics, google, analytics, google analytics, tracking, widget
5
  Requires at least: 2.7
6
  Tested up to: 2.8.3
7
+ Stable tag: 5.3.1
8
 
9
  Adds the necessary JavaScript code to enable Google Analytics. Includes widgets for Analytics data display.
10
 
52
 
53
  == Changelog ==
54
 
55
+ = 5.3.1 =
56
+ * Corrects a fatal error on the settings page under WordPress 2.7.
57
+
58
  = 5.3 =
59
  * Converts API data call to AJAX to reduce the memory needed on page loads.
60
  * Removes memory_limit alterations, since the default amount should be enough now.