Google Analytics for WordPress by MonsterInsights - Version 3.2.5

Version Description

  • Fix for XSS vulnerability as mentioned here.
Download this release

Release Info

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

Code changes from version 3.2.4 to 3.2.5

Files changed (2) hide show
  1. googleanalytics.php +2 -2
  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/#utm_source=wordpress&utm_medium=plugin&utm_campaign=google-analytics-for-wordpress
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.2.4
8
  Requires at least: 2.7
9
  Author URI: http://yoast.com/
10
  License: GPL
@@ -358,7 +358,7 @@ if ( ! class_exists( 'GA_Filter' ) ) {
358
  echo "\t".'} catch(err) {}'."\n";
359
  echo '</script>'."\n";
360
  } else if ($wp_query->is_search && $wp_query->found_posts == 0) {
361
- echo "\t\t".'pageTracker._trackPageview("'.get_bloginfo('url').'/?s=no-results: '.$wp_query->query_vars['s'].'&cat=no-results");'."\n";
362
  echo "\t".'} catch(err) {}'."\n";
363
  echo '</script>'."\n";
364
  } else {
4
  Plugin URI: http://yoast.com/wordpress/analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=google-analytics-for-wordpress
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.2.5
8
  Requires at least: 2.7
9
  Author URI: http://yoast.com/
10
  License: GPL
358
  echo "\t".'} catch(err) {}'."\n";
359
  echo '</script>'."\n";
360
  } else if ($wp_query->is_search && $wp_query->found_posts == 0) {
361
+ echo "\t\t".'pageTracker._trackPageview("'.get_bloginfo('url').'/?s=no-results: '.rawurlencode($wp_query->query_vars['s']).'&cat=no-results");'."\n";
362
  echo "\t".'} catch(err) {}'."\n";
363
  echo '</script>'."\n";
364
  } else {
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.9
7
- Stable tag: 3.2.4
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.2.4 =
33
  * Fixed a bug in search tracking introduced with previous version.
34
 
4
  Tags: analytics, google analytics, statistics
5
  Requires at least: 2.7
6
  Tested up to: 2.9
7
+ Stable tag: 3.2.5
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.2.5 =
33
+ * Fix for XSS vulnerability as mentioned [here](http://www.securityfocus.com/archive/1/508211).
34
+
35
  = 3.2.4 =
36
  * Fixed a bug in search tracking introduced with previous version.
37