Version Description
- Remove notice from Dashboard
Download this release
Release Info
Developer | grimmdude |
Plugin | Google Analyticator |
Version | 6.4.9.5 |
Comparing to | |
See all releases |
Code changes from version 6.4.9.4 to 6.4.9.5
- google-analyticator.php +12 -9
- google-analytics-stats-widget.php +2 -2
- readme.txt +4 -1
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
|
@@ -475,14 +475,17 @@ function ga_options_page() {
|
|
475 |
|
476 |
?>
|
477 |
<div class="wrap">
|
478 |
-
|
|
|
479 |
#ga_analyticator_global_notification a.button:active {vertical-align:baseline;}
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
|
|
|
|
486 |
<form method="post" action="<?php echo ga_analyticator_setting_url();?>">
|
487 |
<?php
|
488 |
# Add a nonce
|
@@ -1389,7 +1392,7 @@ function ga_analyticator_global_notice() {
|
|
1389 |
<?php
|
1390 |
}
|
1391 |
}
|
1392 |
-
add_action( 'admin_notices', 'ga_analyticator_global_notice' );
|
1393 |
|
1394 |
function ga_analyticator_deactivate() {
|
1395 |
delete_option('ga_analyticator_global_notification');
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
+
* Version: 6.4.9.5
|
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
|
475 |
|
476 |
?>
|
477 |
<div class="wrap">
|
478 |
+
<?php if (get_option('ga_analyticator_global_notification') == 1): ?>
|
479 |
+
<style type="text/css">
|
480 |
#ga_analyticator_global_notification a.button:active {vertical-align:baseline;}
|
481 |
+
</style>
|
482 |
+
<div id="ga_analyticator_global_notification" class="updated" style="border:3px solid #317A96;position:relative;background:##3c9cc2;background-color:#3c9cc2;color:#ffffff;height:70px;">
|
483 |
+
<a class="notice-dismiss" href="<?php echo admin_url('admin.php?page=google-analyticator&ga_analyticator_global_notification=0'); ?>" style="right:10px;top:0;"></a>
|
484 |
+
<p style="font-size:16px;line-height:50px;">
|
485 |
+
<?php _e('Grow your site faster!'); ?> <a style="background-color: #6267BE;border-color: #3C3F76;" href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
|
486 |
+
</p>
|
487 |
+
</div>
|
488 |
+
<?php endif ?>
|
489 |
<form method="post" action="<?php echo ga_analyticator_setting_url();?>">
|
490 |
<?php
|
491 |
# Add a nonce
|
1392 |
<?php
|
1393 |
}
|
1394 |
}
|
1395 |
+
//add_action( 'admin_notices', 'ga_analyticator_global_notice' );
|
1396 |
|
1397 |
function ga_analyticator_deactivate() {
|
1398 |
delete_option('ga_analyticator_global_notification');
|
google-analytics-stats-widget.php
CHANGED
@@ -11,8 +11,8 @@ class GoogleStatsWidget extends WP_Widget
|
|
11 |
function GoogleStatsWidget($shortcode = FALSE) {
|
12 |
$widget_ops = array('classname' => 'widget_google_stats', 'description' => __("Displays Stat Info From Google Analytics", 'google-analyticator') );
|
13 |
$control_ops = array('width' => 400, 'height' => 400);
|
14 |
-
|
15 |
-
|
16 |
if ($shortcode) {
|
17 |
$this->widget();
|
18 |
}
|
11 |
function GoogleStatsWidget($shortcode = FALSE) {
|
12 |
$widget_ops = array('classname' => 'widget_google_stats', 'description' => __("Displays Stat Info From Google Analytics", 'google-analyticator') );
|
13 |
$control_ops = array('width' => 400, 'height' => 400);
|
14 |
+
//$this->WP_Widget('googlestats', __('Google Analytics Stats', 'google-analyticator'), $widget_ops, $control_ops);
|
15 |
+
parent::__construct('googlestats', __('Google Analytics Stats', 'google-analyticator'), $widget_ops, $control_ops);
|
16 |
if ($shortcode) {
|
17 |
$this->widget();
|
18 |
}
|
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,9 @@ For any support issues, please use the official WordPress support forums.
|
|
73 |
|
74 |
|
75 |
== Changelog ==
|
|
|
|
|
|
|
76 |
= 6.4.9.4 =
|
77 |
* Fix CSRF vulnerability on reset page
|
78 |
|
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.5
|
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.5 =
|
77 |
+
* Remove notice from Dashboard
|
78 |
+
|
79 |
= 6.4.9.4 =
|
80 |
* Fix CSRF vulnerability on reset page
|
81 |
|