Version Description
- Corrects a potential html sanitation vulnerability with text retrieved from the Google Analytics API.
Download this release
Release Info
Developer | cavemonkey50 |
Plugin | Google Analyticator |
Version | 5.2.1 |
Comparing to | |
See all releases |
Code changes from version 5.2 to 5.2.1
- google-analyticator.php +2 -2
- google-analytics-summary-widget.php +3 -3
- readme.txt +4 -1
google-analyticator.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
-
* Version: 5.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
|
@@ -9,7 +9,7 @@
|
|
9 |
* Text Domain: google-analyticator
|
10 |
*/
|
11 |
|
12 |
-
define('GOOGLE_ANALYTICATOR_VERSION', '5.2');
|
13 |
|
14 |
// Constants for enabled/disabled state
|
15 |
define("ga_enabled", "enabled", true);
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
+
* Version: 5.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
|
9 |
* Text Domain: google-analyticator
|
10 |
*/
|
11 |
|
12 |
+
define('GOOGLE_ANALYTICATOR_VERSION', '5.2.1');
|
13 |
|
14 |
// Constants for enabled/disabled state
|
15 |
define("ga_enabled", "enabled", true);
|
google-analytics-summary-widget.php
CHANGED
@@ -348,7 +348,7 @@ class GoogleAnalyticsSummary
|
|
348 |
|
349 |
# Loop through each stat
|
350 |
foreach ( $stats AS $stat ) {
|
351 |
-
echo '<li><a href="' . $stat['ga:pagePath'] . '">' . $stat['ga:pageTitle'] . '</a> - ' . number_format($stat['ga:pageviews']) . ' ' . __('Views', 'google-analyticator') . '</li>';
|
352 |
}
|
353 |
|
354 |
# Finish the list
|
@@ -399,7 +399,7 @@ class GoogleAnalyticsSummary
|
|
399 |
|
400 |
# Loop through each stat
|
401 |
foreach ( $stats AS $stat ) {
|
402 |
-
echo '<li><strong>' . $stat['ga:source'] . '</strong> - ' . number_format($stat['ga:visits']) . ' ' . __('Visits', 'google-analyticator') . '</li>';
|
403 |
}
|
404 |
|
405 |
# Finish the list
|
@@ -450,7 +450,7 @@ class GoogleAnalyticsSummary
|
|
450 |
|
451 |
# Loop through each stat
|
452 |
foreach ( $stats AS $stat ) {
|
453 |
-
echo '<li><strong>' . $stat['ga:keyword'] . '</strong> - ' . number_format($stat['ga:visits']) . ' ' . __('Visits', 'google-analyticator') . '</li>';
|
454 |
}
|
455 |
|
456 |
# Finish the list
|
348 |
|
349 |
# Loop through each stat
|
350 |
foreach ( $stats AS $stat ) {
|
351 |
+
echo '<li><a href="' . esc_html($stat['ga:pagePath']) . '">' . $stat['ga:pageTitle'] . '</a> - ' . number_format($stat['ga:pageviews']) . ' ' . __('Views', 'google-analyticator') . '</li>';
|
352 |
}
|
353 |
|
354 |
# Finish the list
|
399 |
|
400 |
# Loop through each stat
|
401 |
foreach ( $stats AS $stat ) {
|
402 |
+
echo '<li><strong>' . esc_html($stat['ga:source']) . '</strong> - ' . number_format($stat['ga:visits']) . ' ' . __('Visits', 'google-analyticator') . '</li>';
|
403 |
}
|
404 |
|
405 |
# Finish the list
|
450 |
|
451 |
# Loop through each stat
|
452 |
foreach ( $stats AS $stat ) {
|
453 |
+
echo '<li><strong>' . esc_html($stat['ga:keyword']) . '</strong> - ' . number_format($stat['ga:visits']) . ' ' . __('Visits', 'google-analyticator') . '</li>';
|
454 |
}
|
455 |
|
456 |
# Finish the list
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.2
|
7 |
-
Stable tag: 5.2
|
8 |
|
9 |
Adds the necessary JavaScript code to enable Google Analytics. Includes widgets for Analytics data display.
|
10 |
|
@@ -52,6 +52,9 @@ Please visit [Spiral Web Consulting's forum](http://plugins.spiralwebconsulting.
|
|
52 |
|
53 |
== Changelog ==
|
54 |
|
|
|
|
|
|
|
55 |
= 5.2 =
|
56 |
* Adds support for deauthorizing with Google Analytics.
|
57 |
* Increases checks on the memory limit and now prevents the memory intensive functionality from running if there is insufficient memory.
|
4 |
Tags: stats, statistics, google, analytics, google analytics, tracking, widget
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.8.2
|
7 |
+
Stable tag: 5.2.1
|
8 |
|
9 |
Adds the necessary JavaScript code to enable Google Analytics. Includes widgets for Analytics data display.
|
10 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 5.2.1 =
|
56 |
+
* Corrects a potential html sanitation vulnerability with text retrieved from the Google Analytics API.
|
57 |
+
|
58 |
= 5.2 =
|
59 |
* Adds support for deauthorizing with Google Analytics.
|
60 |
* Increases checks on the memory limit and now prevents the memory intensive functionality from running if there is insufficient memory.
|