Version Description
- Fix CSRF vulnerability on reset page
Download this release
Release Info
| Developer | grimmdude |
| Plugin | |
| Version | 6.4.9.4 |
| Comparing to | |
| See all releases | |
Code changes from version 6.4.9.3 to 6.4.9.4
- class.analytics.stats.php +0 -0
- download-button.png +0 -0
- external-tracking.js +0 -0
- external-tracking.min.js +0 -0
- ga-md-ad-532.png +0 -0
- ga-plugin-advert-sidebar.png +0 -0
- ga-plugin-advert.jpg +0 -0
- ga_logo.png +0 -0
- gapro-plugin-advert-sidebar.png +0 -0
- google-analyticator.php +33 -34
- google-analytics-stats-widget.php +0 -0
- google-analytics-summary-widget.php +0 -0
- google-api-php-client/LICENSE +0 -0
- google-api-php-client/NOTICE +0 -0
- google-api-php-client/README +0 -0
- google-api-php-client/src/Google_Client.php +0 -0
- google-api-php-client/src/auth/Google_AssertionCredentials.php +0 -0
- google-api-php-client/src/auth/Google_Auth.php +0 -0
- google-api-php-client/src/auth/Google_AuthNone.php +0 -0
- google-api-php-client/src/auth/Google_LoginTicket.php +0 -0
- google-api-php-client/src/auth/Google_OAuth2.php +0 -0
- google-api-php-client/src/auth/Google_P12Signer.php +0 -0
- google-api-php-client/src/auth/Google_PemVerifier.php +0 -0
- google-api-php-client/src/auth/Google_Signer.php +0 -0
- google-api-php-client/src/auth/Google_Verifier.php +0 -0
- google-api-php-client/src/cache/Google_ApcCache.php +0 -0
- google-api-php-client/src/cache/Google_Cache.php +0 -0
- google-api-php-client/src/cache/Google_FileCache.php +0 -0
- google-api-php-client/src/cache/Google_MemcacheCache.php +0 -0
- google-api-php-client/src/config.php +0 -0
- google-api-php-client/src/contrib/Google_AdExchangeSellerService.php +0 -0
- google-api-php-client/src/contrib/Google_AdexchangebuyerService.php +0 -0
- google-api-php-client/src/contrib/Google_AdsensehostService.php +0 -0
- google-api-php-client/src/contrib/Google_AnalyticsService.php +0 -0
- google-api-php-client/src/contrib/Google_AndroidpublisherService.php +0 -0
- google-api-php-client/src/contrib/Google_AppstateService.php +0 -0
- google-api-php-client/src/contrib/Google_AuditService.php +0 -0
- google-api-php-client/src/contrib/Google_BigqueryService.php +0 -0
- google-api-php-client/src/contrib/Google_BloggerService.php +0 -0
- google-api-php-client/src/contrib/Google_BooksService.php +0 -0
- google-api-php-client/src/contrib/Google_CalendarService.php +0 -0
- google-api-php-client/src/contrib/Google_CivicInfoService.php +0 -0
- google-api-php-client/src/contrib/Google_ComputeService.php +0 -0
- google-api-php-client/src/contrib/Google_CoordinateService.php +0 -0
- google-api-php-client/src/contrib/Google_CustomsearchService.php +0 -0
- google-api-php-client/src/contrib/Google_DatastoreService.php +0 -0
- google-api-php-client/src/contrib/Google_DfareportingService.php +0 -0
- google-api-php-client/src/contrib/Google_DirectoryService.php +0 -0
- google-api-php-client/src/contrib/Google_DriveService.php +0 -0
- google-api-php-client/src/contrib/Google_FreebaseService.php +0 -0
- google-api-php-client/src/contrib/Google_FusiontablesService.php +0 -0
- google-api-php-client/src/contrib/Google_GamesManagementService.php +0 -0
- google-api-php-client/src/contrib/Google_GamesService.php +0 -0
- google-api-php-client/src/contrib/Google_GanService.php +0 -0
- google-api-php-client/src/contrib/Google_GroupssettingsService.php +0 -0
- google-api-php-client/src/contrib/Google_LatitudeService.php +0 -0
- google-api-php-client/src/contrib/Google_LicensingService.php +0 -0
- google-api-php-client/src/contrib/Google_MirrorService.php +0 -0
- google-api-php-client/src/contrib/Google_ModeratorService.php +0 -0
- google-api-php-client/src/contrib/Google_Oauth2Service.php +0 -0
- google-api-php-client/src/contrib/Google_OrkutService.php +0 -0
- google-api-php-client/src/contrib/Google_PagespeedonlineService.php +0 -0
- google-api-php-client/src/contrib/Google_PlusDomainsService.php +0 -0
- google-api-php-client/src/contrib/Google_PlusMomentsService.php +0 -0
- google-api-php-client/src/contrib/Google_PlusService.php +0 -0
- google-api-php-client/src/contrib/Google_PredictionService.php +0 -0
- google-api-php-client/src/contrib/Google_ReportsService.php +0 -0
- google-api-php-client/src/contrib/Google_ResellerService.php +0 -0
- google-api-php-client/src/contrib/Google_SQLAdminService.php +0 -0
- google-api-php-client/src/contrib/Google_ShoppingService.php +0 -0
- google-api-php-client/src/contrib/Google_SiteVerificationService.php +0 -0
- google-api-php-client/src/contrib/Google_StorageService.php +0 -0
- google-api-php-client/src/contrib/Google_TaskqueueService.php +0 -0
- google-api-php-client/src/contrib/Google_TasksService.php +0 -0
- google-api-php-client/src/contrib/Google_TranslateService.php +0 -0
- google-api-php-client/src/contrib/Google_UrlshortenerService.php +0 -0
- google-api-php-client/src/contrib/Google_WebfontsService.php +0 -0
- google-api-php-client/src/contrib/Google_YouTubeAnalyticsService.php +0 -0
- google-api-php-client/src/external/URITemplateParser.php +0 -0
- google-api-php-client/src/io/Google_CacheParser.php +0 -0
- google-api-php-client/src/io/Google_CurlIO.php +0 -0
- google-api-php-client/src/io/Google_HttpRequest.php +0 -0
- google-api-php-client/src/io/Google_HttpStreamIO.php +0 -0
- google-api-php-client/src/io/Google_IO.php +0 -0
- google-api-php-client/src/io/Google_REST.php +0 -0
- google-api-php-client/src/io/cacerts.pem +0 -0
- google-api-php-client/src/local_config.php +0 -0
- google-api-php-client/src/service/Google_BatchRequest.php +0 -0
- google-api-php-client/src/service/Google_MediaFileUpload.php +0 -0
- google-api-php-client/src/service/Google_Model.php +0 -0
- google-api-php-client/src/service/Google_Service.php +0 -0
- google-api-php-client/src/service/Google_ServiceResource.php +0 -0
- google-api-php-client/src/service/Google_Utils.php +0 -0
- google-api-php-client/static/Credentials.png +0 -0
- jquery.flot.min.js +0 -0
- jquery.sparkline.min.js +0 -0
- localizations/google-analyticator-pl_PL.mo +0 -0
- localizations/google-analyticator-pl_PL.po +0 -0
- localizations/google-analyticator-tr_TR.mo +0 -0
- localizations/google-analyticator-tr_TR.po +0 -0
- other_plugins.php +0 -0
- privacy.png +0 -0
- readme.txt +3 -1
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- screenshot-6.png +0 -0
- wlcms-plugin-advert.png +0 -0
class.analytics.stats.php
CHANGED
|
File without changes
|
download-button.png
CHANGED
|
File without changes
|
external-tracking.js
CHANGED
|
File without changes
|
external-tracking.min.js
CHANGED
|
File without changes
|
ga-md-ad-532.png
CHANGED
|
File without changes
|
ga-plugin-advert-sidebar.png
CHANGED
|
File without changes
|
ga-plugin-advert.jpg
CHANGED
|
File without changes
|
ga_logo.png
CHANGED
|
File without changes
|
gapro-plugin-advert-sidebar.png
CHANGED
|
File without changes
|
google-analyticator.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
* Plugin Name: Google Analyticator
|
| 4 |
-
* Version: 6.4.9.
|
| 5 |
* Plugin URI: http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt
|
| 6 |
* Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin you need to authenticate with Google, then select your domain and you're set.
|
| 7 |
* Author: SumoMe
|
|
@@ -263,46 +263,45 @@ function ga_filter_plugin_actions($links) {
|
|
| 263 |
$new_links = array();
|
| 264 |
|
| 265 |
$new_links[] = '<a href="' . ga_analyticator_setting_url() .'">' . __('Settings', 'google-analyticator') . '</a>';
|
| 266 |
-
$new_links[] = '<a href="' . admin_url('options-general.php?page=ga_reset
|
| 267 |
|
| 268 |
return array_merge($new_links, $links);
|
| 269 |
}
|
| 270 |
|
| 271 |
function ga_do_reset()
|
| 272 |
{
|
|
|
|
| 273 |
// Check to make sure referer is same as host.
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
$wpdb->query( "delete from $wpdb->options where `option_name` like 'google_stats_visitsGraph_%'");
|
| 305 |
-
}
|
| 306 |
|
| 307 |
wp_redirect( admin_url( 'options-general.php?page=ga_activate' ) );
|
| 308 |
exit;
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
* Plugin Name: Google Analyticator
|
| 4 |
+
* Version: 6.4.9.4
|
| 5 |
* Plugin URI: http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt
|
| 6 |
* Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin you need to authenticate with Google, then select your domain and you're set.
|
| 7 |
* Author: SumoMe
|
| 263 |
$new_links = array();
|
| 264 |
|
| 265 |
$new_links[] = '<a href="' . ga_analyticator_setting_url() .'">' . __('Settings', 'google-analyticator') . '</a>';
|
| 266 |
+
$new_links[] = '<a href="' . wp_nonce_url( admin_url('options-general.php?page=ga_reset'), 'ga-reset' ) .'">'. __('Reset', 'google-analyticator') . '</a>';
|
| 267 |
|
| 268 |
return array_merge($new_links, $links);
|
| 269 |
}
|
| 270 |
|
| 271 |
function ga_do_reset()
|
| 272 |
{
|
| 273 |
+
global $wpdb;
|
| 274 |
// Check to make sure referer is same as host.
|
| 275 |
+
check_admin_referer( 'ga-reset' );
|
| 276 |
+
|
| 277 |
+
// Delete all GA options.
|
| 278 |
+
delete_option(key_ga_status);
|
| 279 |
+
delete_option(key_ga_disable_gasites);
|
| 280 |
+
delete_option(key_ga_analytic_snippet);
|
| 281 |
+
delete_option(key_ga_uid);
|
| 282 |
+
delete_option(key_ga_admin);
|
| 283 |
+
delete_option(key_ga_admin_disable);
|
| 284 |
+
delete_option(key_ga_admin_role);
|
| 285 |
+
delete_option(key_ga_dashboard_role);
|
| 286 |
+
delete_option(key_ga_adsense);
|
| 287 |
+
delete_option(key_ga_extra);
|
| 288 |
+
delete_option(key_ga_extra_after);
|
| 289 |
+
delete_option(key_ga_event);
|
| 290 |
+
delete_option(key_ga_outbound);
|
| 291 |
+
delete_option(key_ga_outbound_prefix);
|
| 292 |
+
delete_option(key_ga_enhanced_link_attr);
|
| 293 |
+
delete_option(key_ga_downloads);
|
| 294 |
+
delete_option(key_ga_downloads_prefix);
|
| 295 |
+
delete_option(key_ga_widgets);
|
| 296 |
+
delete_option(key_ga_annon);
|
| 297 |
+
delete_option('ga_defaults');
|
| 298 |
+
delete_option('ga_google_token');
|
| 299 |
+
delete_option('ga_google_authtoken');
|
| 300 |
+
delete_option('ga_profileid');
|
| 301 |
+
delete_transient('ga_admin_stats_widget');
|
| 302 |
+
|
| 303 |
+
// Need to remove cached items from GA widgets
|
| 304 |
+
$wpdb->query( "delete from $wpdb->options where `option_name` like 'google_stats_visitsGraph_%'");
|
|
|
|
|
|
|
| 305 |
|
| 306 |
wp_redirect( admin_url( 'options-general.php?page=ga_activate' ) );
|
| 307 |
exit;
|
google-analytics-stats-widget.php
CHANGED
|
File without changes
|
google-analytics-summary-widget.php
CHANGED
|
File without changes
|
google-api-php-client/LICENSE
CHANGED
|
File without changes
|
google-api-php-client/NOTICE
CHANGED
|
File without changes
|
google-api-php-client/README
CHANGED
|
File without changes
|
google-api-php-client/src/Google_Client.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_AssertionCredentials.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_Auth.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_AuthNone.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_LoginTicket.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_OAuth2.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_P12Signer.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_PemVerifier.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_Signer.php
CHANGED
|
File without changes
|
google-api-php-client/src/auth/Google_Verifier.php
CHANGED
|
File without changes
|
google-api-php-client/src/cache/Google_ApcCache.php
CHANGED
|
File without changes
|
google-api-php-client/src/cache/Google_Cache.php
CHANGED
|
File without changes
|
google-api-php-client/src/cache/Google_FileCache.php
CHANGED
|
File without changes
|
google-api-php-client/src/cache/Google_MemcacheCache.php
CHANGED
|
File without changes
|
google-api-php-client/src/config.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AdExchangeSellerService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AdexchangebuyerService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AdsensehostService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AnalyticsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AndroidpublisherService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AppstateService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_AuditService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_BigqueryService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_BloggerService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_BooksService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_CalendarService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_CivicInfoService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_ComputeService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_CoordinateService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_CustomsearchService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_DatastoreService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_DfareportingService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_DirectoryService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_DriveService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_FreebaseService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_FusiontablesService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_GamesManagementService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_GamesService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_GanService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_GroupssettingsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_LatitudeService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_LicensingService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_MirrorService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_ModeratorService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_Oauth2Service.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_OrkutService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_PagespeedonlineService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_PlusDomainsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_PlusMomentsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_PlusService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_PredictionService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_ReportsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_ResellerService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_SQLAdminService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_ShoppingService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_SiteVerificationService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_StorageService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_TaskqueueService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_TasksService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_TranslateService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_UrlshortenerService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_WebfontsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/contrib/Google_YouTubeAnalyticsService.php
CHANGED
|
File without changes
|
google-api-php-client/src/external/URITemplateParser.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/Google_CacheParser.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/Google_CurlIO.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/Google_HttpRequest.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/Google_HttpStreamIO.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/Google_IO.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/Google_REST.php
CHANGED
|
File without changes
|
google-api-php-client/src/io/cacerts.pem
CHANGED
|
File without changes
|
google-api-php-client/src/local_config.php
CHANGED
|
File without changes
|
google-api-php-client/src/service/Google_BatchRequest.php
CHANGED
|
File without changes
|
google-api-php-client/src/service/Google_MediaFileUpload.php
CHANGED
|
File without changes
|
google-api-php-client/src/service/Google_Model.php
CHANGED
|
File without changes
|
google-api-php-client/src/service/Google_Service.php
CHANGED
|
File without changes
|
google-api-php-client/src/service/Google_ServiceResource.php
CHANGED
|
File without changes
|
google-api-php-client/src/service/Google_Utils.php
CHANGED
|
File without changes
|
google-api-php-client/static/Credentials.png
CHANGED
|
File without changes
|
jquery.flot.min.js
CHANGED
|
File without changes
|
jquery.sparkline.min.js
CHANGED
|
File without changes
|
localizations/google-analyticator-pl_PL.mo
CHANGED
|
File without changes
|
localizations/google-analyticator-pl_PL.po
CHANGED
|
File without changes
|
localizations/google-analyticator-tr_TR.mo
CHANGED
|
File without changes
|
localizations/google-analyticator-tr_TR.po
CHANGED
|
File without changes
|
other_plugins.php
CHANGED
|
File without changes
|
privacy.png
CHANGED
|
File without changes
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: noahkagan
|
|
| 3 |
Tags: google analytics plugin, stats, statistics, google, analytics, dashboard, google analytics, tracking, widget, marketing,pageviews,visits, web stats, javascript
|
| 4 |
Requires at least: 3.2
|
| 5 |
Tested up to: 4.2.2
|
| 6 |
-
Stable tag: 6.4.9.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -73,6 +73,8 @@ For any support issues, please use the official WordPress support forums.
|
|
| 73 |
|
| 74 |
|
| 75 |
== Changelog ==
|
|
|
|
|
|
|
| 76 |
|
| 77 |
= 6.4.9.3 =
|
| 78 |
* Re-enable [analytics] shortcode with fix
|
| 3 |
Tags: google analytics plugin, stats, statistics, google, analytics, dashboard, google analytics, tracking, widget, marketing,pageviews,visits, web stats, javascript
|
| 4 |
Requires at least: 3.2
|
| 5 |
Tested up to: 4.2.2
|
| 6 |
+
Stable tag: 6.4.9.4
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 73 |
|
| 74 |
|
| 75 |
== Changelog ==
|
| 76 |
+
= 6.4.9.4 =
|
| 77 |
+
* Fix CSRF vulnerability on reset page
|
| 78 |
|
| 79 |
= 6.4.9.3 =
|
| 80 |
* Re-enable [analytics] shortcode with fix
|
screenshot-1.png
CHANGED
|
File without changes
|
screenshot-2.png
CHANGED
|
File without changes
|
screenshot-3.png
CHANGED
|
File without changes
|
screenshot-4.png
CHANGED
|
File without changes
|
screenshot-5.png
CHANGED
|
File without changes
|
screenshot-6.png
CHANGED
|
File without changes
|
wlcms-plugin-advert.png
CHANGED
|
File without changes
|
