Visitors Traffic Real Time Statistics - Version 3.10

Version Description

  1. Bug fixes - NOTICE message
Download this release

Release Info

Developer osamaesh
Plugin Icon 128x128 Visitors Traffic Real Time Statistics
Version 3.10
Comparing to
See all releases

Code changes from version 3.9 to 3.10

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: 3.9
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: 3.10
8
  Text Domain: visitors-traffic-real-time-statistics
9
  Domain Path: /languages
10
  */
functions.php CHANGED
@@ -1651,7 +1651,9 @@ function ahcfree_get_top_countries( $limit = 0,$start='',$pagelimit='' ,$all='',
1651
  $limitCond = "";
1652
  if($start !='' && $pagelimit!='')
1653
  {
1654
- $limitCond = " LIMIT $start,$pagelimit";
 
 
1655
  }
1656
 
1657
 
@@ -2498,7 +2500,7 @@ function ahcfree_get_traffic_by_title($all,$cnt=false, $start='0', $limit='10',$
2498
  ORDER BY til_hits DESC limit %d, %d";
2499
 
2500
  $count = $wpdb->get_results($wpdb->prepare($sql2, $start, $limit));
2501
- return $count->num_rows;
2502
  }
2503
 
2504
  $limitCond = "";
1651
  $limitCond = "";
1652
  if($start !='' && $pagelimit!='')
1653
  {
1654
+
1655
+ $limitCond = " limit ".intval($start).",".intval($pagelimit);
1656
+
1657
  }
1658
 
1659
 
2500
  ORDER BY til_hits DESC limit %d, %d";
2501
 
2502
  $count = $wpdb->get_results($wpdb->prepare($sql2, $start, $limit));
2503
+ return $wpdb->num_rows;
2504
  }
2505
 
2506
  $limitCond = "";
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.8
6
- Stable tag: 3.9
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
  = 3.9 =
154
  1. Authenticated (subscriber+) SQL Injection - Security Bug fixes
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.8
6
+ Stable tag: 3.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
150
 
151
  == Changelog ==
152
 
153
+ = 3.10 =
154
+ 1. Bug fixes - NOTICE message
155
+
156
+
157
  = 3.9 =
158
  1. Authenticated (subscriber+) SQL Injection - Security Bug fixes
159