Version Description
- Bug Fix: analytics icons get added to all custom columns
- Bug Fix: unable to switch tabs in plugin options for some languages
Download this release
Release Info
Developer | deconf |
Plugin | Google Analytics Dashboard for WP (GADWP) |
Version | 4.5.1 |
Comparing to | |
See all releases |
Code changes from version 4.5 to 4.5.1
- admin/item-reports.php +5 -1
- admin/setup.php +1 -1
- gadwp.php +2 -2
- readme.txt +5 -1
admin/item-reports.php
CHANGED
@@ -43,6 +43,10 @@ if (! class_exists('GADASH_Back_Stats')) {
|
|
43 |
{
|
44 |
global $GADASH_Config, $wp_version;
|
45 |
|
|
|
|
|
|
|
|
|
46 |
if (version_compare($wp_version, '3.8.0', '>=')) {
|
47 |
echo '<a id="gadwp-' . $id . '" title="' . get_the_title($id) . '" href="#' . $id . '" class="gadwp-icon dashicons-before dashicons-chart-area"></a>';
|
48 |
} else {
|
@@ -53,7 +57,7 @@ if (! class_exists('GADASH_Back_Stats')) {
|
|
53 |
function add_stats_column($columns)
|
54 |
{
|
55 |
return array_merge($columns, array(
|
56 |
-
'gadwp_stats' => __('Analytics', 'ga-dash')
|
57 |
));
|
58 |
}
|
59 |
}
|
43 |
{
|
44 |
global $GADASH_Config, $wp_version;
|
45 |
|
46 |
+
if ($column != 'gadwp_stats'){
|
47 |
+
return;
|
48 |
+
}
|
49 |
+
|
50 |
if (version_compare($wp_version, '3.8.0', '>=')) {
|
51 |
echo '<a id="gadwp-' . $id . '" title="' . get_the_title($id) . '" href="#' . $id . '" class="gadwp-icon dashicons-before dashicons-chart-area"></a>';
|
52 |
} else {
|
57 |
function add_stats_column($columns)
|
58 |
{
|
59 |
return array_merge($columns, array(
|
60 |
+
'gadwp_stats' => __('Analytics', 'ga-dash'),
|
61 |
));
|
62 |
}
|
63 |
}
|
admin/setup.php
CHANGED
@@ -66,7 +66,7 @@ if (! class_exists('GADASH_Back_Setup')) {
|
|
66 |
global $wp_version;
|
67 |
if (current_user_can('manage_options')) {
|
68 |
include ($GADASH_Config->plugin_path . '/admin/settings.php');
|
69 |
-
add_menu_page(__("Google Analytics", 'ga-dash'),
|
70 |
'GADASH_Settings',
|
71 |
'general_settings'
|
72 |
), version_compare($wp_version, '3.8.0', '>=') ? 'dashicons-chart-area' : $GADASH_Config->plugin_url . '/admin/images/gadash-icon.png');
|
66 |
global $wp_version;
|
67 |
if (current_user_can('manage_options')) {
|
68 |
include ($GADASH_Config->plugin_path . '/admin/settings.php');
|
69 |
+
add_menu_page(__("Google Analytics", 'ga-dash'), 'Google Analytics', 'manage_options', 'gadash_settings', array(
|
70 |
'GADASH_Settings',
|
71 |
'general_settings'
|
72 |
), version_compare($wp_version, '3.8.0', '>=') ? 'dashicons-chart-area' : $GADASH_Config->plugin_url . '/admin/images/gadash-icon.png');
|
gadwp.php
CHANGED
@@ -4,10 +4,10 @@
|
|
4 |
* Plugin URI: https://deconf.com
|
5 |
* Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
|
6 |
* Author: Alin Marcu
|
7 |
-
* Version: 4.5
|
8 |
* Author URI: https://deconf.com
|
9 |
*/
|
10 |
-
define('GADWP_CURRENT_VERSION', '4.5');
|
11 |
/*
|
12 |
* Include Install
|
13 |
*/
|
4 |
* Plugin URI: https://deconf.com
|
5 |
* Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
|
6 |
* Author: Alin Marcu
|
7 |
+
* Version: 4.5.1
|
8 |
* Author URI: https://deconf.com
|
9 |
*/
|
10 |
+
define('GADWP_CURRENT_VERSION', '4.5.1');
|
11 |
/*
|
12 |
* Include Install
|
13 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://deconf.com/donate/
|
|
4 |
Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,6 +132,10 @@ This plugin it's released under the GPLv2, you can use it free of charge on your
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
|
|
135 |
= 4.5 =
|
136 |
- Requirements: WordPress 3.5 and above
|
137 |
- Enhancement: automatic updates for minor versions (security and maintenance releases)
|
4 |
Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 4.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 4.5.1 =
|
136 |
+
- Bug Fix: analytics icons get added to all custom columns
|
137 |
+
- Bug Fix: unable to switch tabs in plugin options for some languages
|
138 |
+
|
139 |
= 4.5 =
|
140 |
- Requirements: WordPress 3.5 and above
|
141 |
- Enhancement: automatic updates for minor versions (security and maintenance releases)
|