Google Analyticator - Version 4.2.2

Version Description

Download this release

Release Info

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

Code changes from version 4.2.1 to 4.2.2

google-analyticator.php CHANGED
@@ -1,14 +1,14 @@
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
- * Version: 4.2.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
8
  * Author URI: http://spiralwebconsulting.com/
9
  */
10
 
11
- define('GOOGLE_ANALYTICATOR_VERSION', '4.2.1');
12
 
13
  # Include Google Analytics Stats widget
14
  if ( function_exists('curl_init') ) {
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
+ * Version: 4.2.2
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
8
  * Author URI: http://spiralwebconsulting.com/
9
  */
10
 
11
+ define('GOOGLE_ANALYTICATOR_VERSION', '4.2.2');
12
 
13
  # Include Google Analytics Stats widget
14
  if ( function_exists('curl_init') ) {
google-analytics-stats-widget.php CHANGED
@@ -97,7 +97,7 @@ class GoogleStatsWidget extends WP_Widget
97
  foreach ( $accounts AS $account ) { $select = ( $acnt == $account['id'] ) ? ' selected="selected"' : ''; echo '<option value="' . $account['id'] . '"' . $select . '>' . $account['title'] . '</option>'; }
98
  else
99
  echo '<option value="">No accounts. Set user/pass in settings.</option>';
100
- echo '</select>';
101
  # Time frame
102
  echo '<p style="text-align:right;"><label for="' . $this->get_field_name('timeFrame') . '">' . __('Days of data to get:') . ' <input style="width: 150px;" id="' . $this->get_field_id('timeFrame') . '" name="' . $this->get_field_name('timeFrame') . '" type="text" value="' . $timeFrame . '" /></label></p>';
103
  # Page background
97
  foreach ( $accounts AS $account ) { $select = ( $acnt == $account['id'] ) ? ' selected="selected"' : ''; echo '<option value="' . $account['id'] . '"' . $select . '>' . $account['title'] . '</option>'; }
98
  else
99
  echo '<option value="">No accounts. Set user/pass in settings.</option>';
100
+ echo '</select></label></p>';
101
  # Time frame
102
  echo '<p style="text-align:right;"><label for="' . $this->get_field_name('timeFrame') . '">' . __('Days of data to get:') . ' <input style="width: 150px;" id="' . $this->get_field_id('timeFrame') . '" name="' . $this->get_field_name('timeFrame') . '" type="text" value="' . $timeFrame . '" /></label></p>';
103
  # Page background
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: cavemonkey50, spiralwebconsulting
3
  Tags: stats, google, analytics, tracking
4
  Requires at least: 2.7
5
  Tested up to: 2.8
6
- Stable tag: 4.2.1
7
 
8
  Adds the necessary JavaScript code to enable Google Analytics.
9
 
3
  Tags: stats, google, analytics, tracking
4
  Requires at least: 2.7
5
  Tested up to: 2.8
6
+ Stable tag: 4.2.2
7
 
8
  Adds the necessary JavaScript code to enable Google Analytics.
9