WP Google Analytics - Version 1.4.1

Version Description

Fix for translations and small bug when upgrading from very old version of the plugin

Download this release

Release Info

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

Code changes from version 1.4.0 to 1.4.1

Files changed (2) hide show
  1. readme.txt +13 -5
  2. wp-google-analytics.php +4 -5
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Google Analytics ===
2
- Contributors: range, PeteMall, saracannon, aaroncampbell
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CLXNQ3DVK6M48
4
  Tags: analytics, google, google analytics
5
  Requires at least: 3.1
6
- Tested up to: 3.5
7
- Stable tag: 1.4.0
8
 
9
  Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
10
 
@@ -29,8 +29,9 @@ Features:
29
  * Anything - Use the built-in filter to add your own!
30
  * Allows you to ignore any user roles (administrators, editors, authors, etc)
31
 
32
- <a href="http://bluedogwebservices.com/wordpress-plugin/wp-google-analytics/">WP Google Analytics</a>
33
- Brought to you by <a href="http://ran.ge/" title="WordPress Development">Ran.ge</a>
 
34
 
35
  == Installation ==
36
 
@@ -67,6 +68,9 @@ easily do all these things.
67
 
68
  == Upgrade Notice ==
69
 
 
 
 
70
  = 1.4.0 =
71
  Allow tokens in the custom variables
72
 
@@ -78,6 +82,10 @@ Move to using events for tracking 404s and outgoing links and add support for cu
78
 
79
  == Changelog ==
80
 
 
 
 
 
81
  = 1.4.0 =
82
  * Support for tokens in custom variables
83
 
1
  === WP Google Analytics ===
2
+ Contributors: aaroncampbell
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CLXNQ3DVK6M48
4
  Tags: analytics, google, google analytics
5
  Requires at least: 3.1
6
+ Tested up to: 4.0
7
+ Stable tag: 1.4.1
8
 
9
  Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
10
 
29
  * Anything - Use the built-in filter to add your own!
30
  * Allows you to ignore any user roles (administrators, editors, authors, etc)
31
 
32
+ Collaborate on the plugin: <a href="https://github.com/aaroncampbell/wp-google-analytics">WP Google Analytics</a>
33
+
34
+ Brought to you by <a href="http://aarondcampbell.com/" title="WordPress Plugins">Aaron D. Campbell</a>
35
 
36
  == Installation ==
37
 
68
 
69
  == Upgrade Notice ==
70
 
71
+ = 1.4.1 =
72
+ Fix for translations and small bug when upgrading from very old version of the plugin
73
+
74
  = 1.4.0 =
75
  Allow tokens in the custom variables
76
 
82
 
83
  == Changelog ==
84
 
85
+ = 1.4.1 =
86
+ * Fix undefined index notice for users upgrading from pre-1.3.0
87
+ * Fix plugin text domain
88
+
89
  = 1.4.0 =
90
  * Support for tokens in custom variables
91
 
wp-google-analytics.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: WP Google Analytics
4
  * Plugin URI: http://bluedogwebservices.com/wordpress-plugin/wp-google-analytics/
5
  * Description: Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
6
- * Version: 1.4.0
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://ran.ge/
9
  * License: GPLv2 or later
10
  * Text Domain: wp-google-analytics
11
  */
12
 
13
- define('WGA_VERSION', '1.4.0');
14
 
15
  /* Copyright 2006 Aaron D. Campbell (email : wp_plugins@xavisys.com)
16
 
@@ -69,7 +69,7 @@ class wpGoogleAnalytics {
69
  }
70
 
71
  public function init() {
72
- load_plugin_textdomain( 'jetpack', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
73
 
74
  $this->tokens = array(
75
  array(
@@ -525,8 +525,7 @@ class wpGoogleAnalytics {
525
  * If we track outgoing links, this will enqueue our javascript file
526
  */
527
  public function track_outgoing() {
528
- $wga = $this->_get_options();
529
- if ( 'true' == $wga['log_outgoing'] && (!defined('XMLRPC_REQUEST') || !XMLRPC_REQUEST) && ( ! is_admin() || $wga['ignore_admin_area'] == 'false') )
530
  wp_enqueue_script( 'wp-google-analytics', plugin_dir_url( __FILE__ ) . 'wp-google-analytics.js', array( 'jquery' ), '0.0.3' );
531
  }
532
 
3
  * Plugin Name: WP Google Analytics
4
  * Plugin URI: http://bluedogwebservices.com/wordpress-plugin/wp-google-analytics/
5
  * Description: Lets you use <a href="http://analytics.google.com">Google Analytics</a> to track your WordPress site statistics
6
+ * Version: 1.4.1
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://ran.ge/
9
  * License: GPLv2 or later
10
  * Text Domain: wp-google-analytics
11
  */
12
 
13
+ define('WGA_VERSION', '1.4.1');
14
 
15
  /* Copyright 2006 Aaron D. Campbell (email : wp_plugins@xavisys.com)
16
 
69
  }
70
 
71
  public function init() {
72
+ load_plugin_textdomain( 'wp-google-analytics', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
73
 
74
  $this->tokens = array(
75
  array(
525
  * If we track outgoing links, this will enqueue our javascript file
526
  */
527
  public function track_outgoing() {
528
+ if ( 'true' == $this->_get_options( 'log_outgoing' ) && (!defined('XMLRPC_REQUEST') || !XMLRPC_REQUEST) && ( ! is_admin() || 'false' == $this->_get_options( 'ignore_admin_area' ) ) )
 
529
  wp_enqueue_script( 'wp-google-analytics', plugin_dir_url( __FILE__ ) . 'wp-google-analytics.js', array( 'jquery' ), '0.0.3' );
530
  }
531