Version Description
- Corrects XHTML validator errors present in the stat widget.
- Removes some stray code.
Download this release
Release Info
Developer | cavemonkey50 |
Plugin | Google Analyticator |
Version | 4.3.3 |
Comparing to | |
See all releases |
Code changes from version 4.3.2 to 4.3.3
- google-analyticator.php +1 -2
- google-analytics-stats-widget.php +3 -3
- google-analytics-stats.php +3 -3
- readme.txt +6 -2
google-analyticator.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
-
* Version: 4.3.
|
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
|
@@ -107,7 +107,6 @@ add_action('init', 'ga_outgoing_links');
|
|
107 |
|
108 |
// Hook in the options page function
|
109 |
function add_ga_option_page() {
|
110 |
-
global $wpdb;
|
111 |
add_options_page('Google Analyticator Settings', 'Google Analytics', 8, basename(__FILE__), 'ga_options_page');
|
112 |
}
|
113 |
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
+
* Version: 4.3.3
|
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
|
107 |
|
108 |
// Hook in the options page function
|
109 |
function add_ga_option_page() {
|
|
|
110 |
add_options_page('Google Analyticator Settings', 'Google Analytics', 8, basename(__FILE__), 'ga_options_page');
|
111 |
}
|
112 |
|
google-analytics-stats-widget.php
CHANGED
@@ -130,7 +130,7 @@ class GoogleStatsWidget extends WP_Widget
|
|
130 |
function initiateBackground($page_background_color = 'FFF', $font_color = '000')
|
131 |
{
|
132 |
echo '<br />';
|
133 |
-
echo '<div style="background:#' . $page_background_color . ';font-size:12px;color:#' . $font_color . ';font-family
|
134 |
}
|
135 |
|
136 |
/**
|
@@ -142,7 +142,7 @@ class GoogleStatsWidget extends WP_Widget
|
|
142 |
**/
|
143 |
function beginWidget($font_color = '000', $widget_background_color = 'FFF')
|
144 |
{
|
145 |
-
echo '<table style="width:auto!important;border-width:2px;border-color:#' . $font_color . ';border-style:solid;background:#' . $widget_background_color . ';"><tr
|
146 |
}
|
147 |
|
148 |
/**
|
@@ -178,7 +178,7 @@ class GoogleStatsWidget extends WP_Widget
|
|
178 |
echo '</tr></table>';
|
179 |
|
180 |
// The following is used to displayed the "Powered By Google Anayltics" text.
|
181 |
-
echo '<div style="font-size:9px;color:#666666;margin-top:0px;font-family:Verdana;">Powered By <a href="http://google.com/analytics/"
|
182 |
}
|
183 |
|
184 |
/**
|
130 |
function initiateBackground($page_background_color = 'FFF', $font_color = '000')
|
131 |
{
|
132 |
echo '<br />';
|
133 |
+
echo '<div style="background:#' . $page_background_color . ';font-size:12px;color:#' . $font_color . ';font-family:\'Lucida Grande\',Helvetica,Verdana,Sans-Serif;">';
|
134 |
}
|
135 |
|
136 |
/**
|
142 |
**/
|
143 |
function beginWidget($font_color = '000', $widget_background_color = 'FFF')
|
144 |
{
|
145 |
+
echo '<table style="width:auto!important;border-width:2px;border-color:#' . $font_color . ';border-style:solid;background:#' . $widget_background_color . ';"><tr>';
|
146 |
}
|
147 |
|
148 |
/**
|
178 |
echo '</tr></table>';
|
179 |
|
180 |
// The following is used to displayed the "Powered By Google Anayltics" text.
|
181 |
+
echo '<div style="font-size:9px;color:#666666;margin-top:0px;font-family:Verdana;">Powered By <a href="http://google.com/analytics/" title="Google Analytics" style="text-decoration:none;"><img src="' . plugins_url('/google-analyticator/ga_logo.png') . '" alt="Google Analytics" style="border:0px;position:relative;top:4px;" /></a></div></div>';
|
182 |
}
|
183 |
|
184 |
/**
|
google-analytics-stats.php
CHANGED
@@ -163,7 +163,7 @@ class GoogleStatsWidget
|
|
163 |
function initiateBackground($page_background_color = 'FFF', $font_color = '000')
|
164 |
{
|
165 |
echo '<br />';
|
166 |
-
echo '<div style="background:#' . $page_background_color . ';font-size:12px;color:#' . $font_color . ';font-family
|
167 |
}
|
168 |
|
169 |
/**
|
@@ -175,7 +175,7 @@ class GoogleStatsWidget
|
|
175 |
**/
|
176 |
function beginWidget($font_color = '000', $widget_background_color = 'FFF')
|
177 |
{
|
178 |
-
echo '<table style="width:auto!important;border-width:2px;border-color:#' . $font_color . ';border-style:solid;background:#' . $widget_background_color . ';"><tr
|
179 |
}
|
180 |
|
181 |
/**
|
@@ -211,7 +211,7 @@ class GoogleStatsWidget
|
|
211 |
echo '</tr></table>';
|
212 |
|
213 |
// The following is used to displayed the "Powered By Google Anayltics" text.
|
214 |
-
echo '<div style="font-size:9px;color:#666666;margin-top:0px;font-family:Verdana;">Powered By <a href="http://google.com/analytics/"
|
215 |
}
|
216 |
|
217 |
/**
|
163 |
function initiateBackground($page_background_color = 'FFF', $font_color = '000')
|
164 |
{
|
165 |
echo '<br />';
|
166 |
+
echo '<div style="background:#' . $page_background_color . ';font-size:12px;color:#' . $font_color . ';font-family:\'Lucida Grande\',Helvetica,Verdana,Sans-Serif;">';
|
167 |
}
|
168 |
|
169 |
/**
|
175 |
**/
|
176 |
function beginWidget($font_color = '000', $widget_background_color = 'FFF')
|
177 |
{
|
178 |
+
echo '<table style="width:auto!important;border-width:2px;border-color:#' . $font_color . ';border-style:solid;background:#' . $widget_background_color . ';"><tr>';
|
179 |
}
|
180 |
|
181 |
/**
|
211 |
echo '</tr></table>';
|
212 |
|
213 |
// The following is used to displayed the "Powered By Google Anayltics" text.
|
214 |
+
echo '<div style="font-size:9px;color:#666666;margin-top:0px;font-family:Verdana;">Powered By <a href="http://google.com/analytics/" title="Google Analytics" style="text-decoration:none;"><img src="' . plugins_url('/google-analyticator/ga_logo.png') . '" alt="Google Analytics" style="border:0px;position:relative;top:4px;" /></a></div></div>';
|
215 |
}
|
216 |
|
217 |
/**
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: cavemonkey50, jesse_altman, spiralwebconsulting
|
|
3 |
Donate link: http://plugins.spiralwebconsulting.com/analyticator.html#donate
|
4 |
Tags: stats, statistics, google, analytics, google analytics, tracking, widget
|
5 |
Requires at least: 2.7
|
6 |
-
Tested up to: 2.8
|
7 |
-
Stable tag: 4.3.
|
8 |
|
9 |
Adds the necessary JavaScript code to enable Google Analytics.
|
10 |
|
@@ -45,6 +45,10 @@ Please visit the [Google Analyticator plugin page](http://plugins.spiralwebconsu
|
|
45 |
|
46 |
== Changelog ==
|
47 |
|
|
|
|
|
|
|
|
|
48 |
= 4.3.2 =
|
49 |
* Adds support for WordPress' new changelog readme.txt standard. Version information is now available from within the plugin updater.
|
50 |
* Enhances the links on the plugin page. Adds a settings, FAQ, and support link.
|
3 |
Donate link: http://plugins.spiralwebconsulting.com/analyticator.html#donate
|
4 |
Tags: stats, statistics, google, analytics, google analytics, tracking, widget
|
5 |
Requires at least: 2.7
|
6 |
+
Tested up to: 2.8.1
|
7 |
+
Stable tag: 4.3.3
|
8 |
|
9 |
Adds the necessary JavaScript code to enable Google Analytics.
|
10 |
|
45 |
|
46 |
== Changelog ==
|
47 |
|
48 |
+
= 4.3.3 =
|
49 |
+
* Corrects XHTML validator errors present in the stat widget.
|
50 |
+
* Removes some stray code.
|
51 |
+
|
52 |
= 4.3.2 =
|
53 |
* Adds support for WordPress' new changelog readme.txt standard. Version information is now available from within the plugin updater.
|
54 |
* Enhances the links on the plugin page. Adds a settings, FAQ, and support link.
|