Google Analytics for WordPress by MonsterInsights - Version 3.1.1

Version Description

  • Stupid typo that caused warnings.
Download this release

Release Info

Developer joostdevalk
Plugin Icon 128x128 Google Analytics for WordPress by MonsterInsights
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1 to 3.1.1

Files changed (2) hide show
  1. googleanalytics.php +4 -4
  2. readme.txt +4 -1
googleanalytics.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Analytics for WordPress
4
  Plugin URI: http://yoast.com/wordpress/analytics/
5
  Description: This plugin makes it simple to add Google Analytics with extra search engines and automatic clickout and download tracking to your WordPress blog.
6
  Author: Joost de Valk
7
- Version: 3.1
8
  Requires at least: 2.7
9
  Author URI: http://yoast.com/
10
  License: GPL
@@ -32,7 +32,7 @@ if ( ! class_exists( 'GA_Admin' ) ) {
32
  var $shortname = 'Google Analytics';
33
  var $ozhicon = 'chart_curve.png';
34
  var $optionname = 'GoogleAnalyticsPP';
35
- var $homepage = 'http://yoast.com/wordpress/analytics/';
36
 
37
 
38
  function GA_Admin() {
@@ -576,9 +576,9 @@ if ( $options['allowanchor'] ) {
576
  }
577
 
578
  $gaf = new GA_Filter();
579
- $options = get_option('GoogleAnalyticsPP',"");
580
 
581
- if (is_array($options)) {
582
  $ga_admin->set_defaults();
583
  }
584
 
4
  Plugin URI: http://yoast.com/wordpress/analytics/
5
  Description: This plugin makes it simple to add Google Analytics with extra search engines and automatic clickout and download tracking to your WordPress blog.
6
  Author: Joost de Valk
7
+ Version: 3.1.1
8
  Requires at least: 2.7
9
  Author URI: http://yoast.com/
10
  License: GPL
32
  var $shortname = 'Google Analytics';
33
  var $ozhicon = 'chart_curve.png';
34
  var $optionname = 'GoogleAnalyticsPP';
35
+ var $homepage = 'http://yoast.com/wordpress/google-analytics/';
36
 
37
 
38
  function GA_Admin() {
576
  }
577
 
578
  $gaf = new GA_Filter();
579
+ $options = get_option('GoogleAnalyticsPP');
580
 
581
+ if (!is_array($options)) {
582
  $ga_admin->set_defaults();
583
  }
584
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
4
  Tags: analytics, google analytics, statistics
5
  Requires at least: 2.7
6
  Tested up to: 2.8.2
7
- Stable tag: 3.1
8
 
9
  The Google Analytics for WordPress plugin automatically tracks and segments all outbound links from within posts, comment author links, links within comments, blogroll links and downloads. It also allows you to track AdSense clicks, add extra search engines, track image search queries and it will even work together with Urchin.
10
 
@@ -29,6 +29,9 @@ This section describes how to install the plugin and get it working.
29
 
30
  == Changelog ==
31
 
 
 
 
32
  = 3.1 =
33
  * Added 404 tracking as described [here](http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=86927).
34
  * Optimized the tracking script, if extra search engine tracking is disabled it'll be a lot smaller now.
4
  Tags: analytics, google analytics, statistics
5
  Requires at least: 2.7
6
  Tested up to: 2.8.2
7
+ Stable tag: 3.1.1
8
 
9
  The Google Analytics for WordPress plugin automatically tracks and segments all outbound links from within posts, comment author links, links within comments, blogroll links and downloads. It also allows you to track AdSense clicks, add extra search engines, track image search queries and it will even work together with Urchin.
10
 
29
 
30
  == Changelog ==
31
 
32
+ = 3.1.1 =
33
+ * Stupid typo that caused warnings.
34
+
35
  = 3.1 =
36
  * Added 404 tracking as described [here](http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=86927).
37
  * Optimized the tracking script, if extra search engine tracking is disabled it'll be a lot smaller now.