WP Google Analytics - Version 1.2.3

Version Description

Download this release

Release Info

Developer aaroncampbell
Plugin Icon wp plugin WP Google Analytics
Version 1.2.3
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.3

Files changed (2) hide show
  1. readme.txt +1 -1
  2. wp-google-analytics.php +7 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%4
4
  Tags: analytics, google, google analytics
5
  Requires at least: 1.5
6
  Tested up to: 2.5.1
7
- Stable tag: 1.2.2
8
 
9
  Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
10
 
4
  Tags: analytics, google, google analytics
5
  Requires at least: 1.5
6
  Tested up to: 2.5.1
7
+ Stable tag: 1.2.3
8
 
9
  Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
10
 
wp-google-analytics.php CHANGED
@@ -3,15 +3,18 @@
3
  * Plugin Name: WP Google Analytics
4
  * Plugin URI: http://xavisys.com/wordpress-google-analytics-plugin/
5
  * Description: Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
6
- * Version: 1.2.2
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  */
10
 
11
- define('WGA_VERSION', '1.2.2');
12
  /**
13
  * Changelog:
14
- * 06/08/2008: 1.2.2
 
 
 
15
  * - Fixed problem with code affecting Admin Javascript such as the TinyMCE editor
16
  *
17
  * 06/08/2008: 1.2.1
@@ -178,7 +181,7 @@ class wpGoogleAnalytics {
178
 
179
  $track[$k] = trim($track[$k], '_');
180
  }
181
- $char = (strpos($track['data'], '?') === false)? '?':'&';
182
  return str_replace("'", "\'", "/{$track['code']}/{$track['data']}{$char}referer={$_SERVER['HTTP_REFERER']}");
183
  }
184
 
3
  * Plugin Name: WP Google Analytics
4
  * Plugin URI: http://xavisys.com/wordpress-google-analytics-plugin/
5
  * Description: Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
6
+ * Version: 1.2.3
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  */
10
 
11
+ define('WGA_VERSION', '1.2.3');
12
  /**
13
  * Changelog:
14
+ * 06/11/2008: 1.2.3
15
+ * - Changed & to &amp; to fix validation problems.
16
+ *
17
+ * 06/11/2008: 1.2.2
18
  * - Fixed problem with code affecting Admin Javascript such as the TinyMCE editor
19
  *
20
  * 06/08/2008: 1.2.1
181
 
182
  $track[$k] = trim($track[$k], '_');
183
  }
184
+ $char = (strpos($track['data'], '?') === false)? '?':'&amp;';
185
  return str_replace("'", "\'", "/{$track['code']}/{$track['data']}{$char}referer={$_SERVER['HTTP_REFERER']}");
186
  }
187