Version Description
- Bug fixing in the plugin accessibility
Download this release
Release Info
Developer | osamaesh |
Plugin | Visitors Traffic Real Time Statistics |
Version | 5.3 |
Comparing to | |
See all releases |
Code changes from version 5.2 to 5.3
- Visitors-Traffic-Real-Time-Statistics.php +1 -1
- functions.php +4 -3
- readme.txt +5 -1
Visitors-Traffic-Real-Time-Statistics.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Visitor Traffic Real Time Statistics
|
|
4 |
Description: Hits counter that shows analytical numbers of your WordPress site visitors and hits.
|
5 |
Author: wp-buy
|
6 |
Author URI: https://www.wp-buy.com/
|
7 |
-
Version: 5.
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
4 |
Description: Hits counter that shows analytical numbers of your WordPress site visitors and hits.
|
5 |
Author: wp-buy
|
6 |
Author URI: https://www.wp-buy.com/
|
7 |
+
Version: 5.3
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
functions.php
CHANGED
@@ -476,9 +476,10 @@ function ahcfree_create_admin_menu_link()
|
|
476 |
$current_use_roles_ = $current_user->roles;
|
477 |
$current_use_roles_ = strtolower($current_use_roles_[0]);
|
478 |
|
479 |
-
if (!in_array($current_use_roles_, $roles_arr) ) {
|
480 |
-
|
481 |
-
|
|
|
482 |
|
483 |
|
484 |
|
476 |
$current_use_roles_ = $current_user->roles;
|
477 |
$current_use_roles_ = strtolower($current_use_roles_[0]);
|
478 |
|
479 |
+
if (!in_array( $current_use_roles_, $roles_arr ) && !current_user_can('manage_options')) {
|
480 |
+
return;
|
481 |
+
|
482 |
+
}
|
483 |
|
484 |
|
485 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wp-buy, osamaesh
|
|
3 |
Tags: visitor, traffic, statistics, analytics, stats, online, Visit, WordPress analytics ,visitors online, count visitor, google analytics, analytics, GeoIP, Geo locations, analytics dashboard, visits, chart, browser, blog, today, yesterday, week, month, wp Statistics, year, post, page, sidebar, summary, feedburner, hits, pagerank, google, histats, alexa, live visit, counter, diagram, graph
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.9.1
|
6 |
-
Stable tag: 5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -150,6 +150,10 @@ This plugin supports IPv6; however, PHP must be compiled with IPv6 support enabl
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
|
|
153 |
= 5.2 =
|
154 |
1. Bug fixing in the plugins page - settings URL
|
155 |
|
3 |
Tags: visitor, traffic, statistics, analytics, stats, online, Visit, WordPress analytics ,visitors online, count visitor, google analytics, analytics, GeoIP, Geo locations, analytics dashboard, visits, chart, browser, blog, today, yesterday, week, month, wp Statistics, year, post, page, sidebar, summary, feedburner, hits, pagerank, google, histats, alexa, live visit, counter, diagram, graph
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.9.1
|
6 |
+
Stable tag: 5.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= 5.3 =
|
154 |
+
1. Bug fixing in the plugin accessibility
|
155 |
+
|
156 |
+
|
157 |
= 5.2 =
|
158 |
1. Bug fixing in the plugins page - settings URL
|
159 |
|