Skip to content

Commit

Permalink
v1.3.6
Browse files Browse the repository at this point in the history
* Correction summary dashbord (exclude local location),
* Update GeoIP Database 20221104.
  • Loading branch information
thanatos-vf-2000 committed Nov 3, 2022
1 parent 4348855 commit be15464
Show file tree
Hide file tree
Showing 15 changed files with 484 additions and 45 deletions.
2 changes: 1 addition & 1 deletion assets/css/admin-customizer.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable.
For the latest changes, please see the "Changelog" section of the [readme.txt file](https://plugins.svn.wordpress.org/stats4wp/trunk/readme.txt).


= 1.3.6 (2211-SFP2) =
*Release Date - 03 November 2022*

* Correction summary dashbord (exclude local location),
* Update GeoIP Database 20221104.

= 1.3.5 (2211-SFP1) =
*Release Date - 03 November 2022*

* Correction summary dashbord (exclude local location),
* Update psr/cache v1.0.1 => v3.0.0,
* Update GeoIP Database 20221104.


= 1.3.4 (2205-SFP1) =
*Release Date - 25 May 2022*

Expand Down
Binary file modified db/GeoLite2-Country.mmdb
Binary file not shown.
4 changes: 2 additions & 2 deletions inc/Api/GeoIP.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package STATS4WPPlugin
* @Version 1.3.4
* @Version 1.3.5
*/
namespace STATS4WP\Api;

Expand All @@ -15,7 +15,7 @@ class GeoIP
*
* @var string
*/
public static $geoip_date = '20220524';
public static $geoip_date = '20221104';

/**
* Date of database GeoIpLitle User IP
Expand Down
15 changes: 5 additions & 10 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits,
Requires at least: 5.2
Tested up to: 6.0
Requires PHP: 7.4
Stable tag: 1.3.4
Stable tag: 1.3.6
License: GPLv2

This plugin gives you the complete information on your website's visitors.
Expand Down Expand Up @@ -101,16 +101,11 @@ Source: https://developers.google.com/chart/interactive/docs/gallery/geochart

== Changelog ==

= 1.3.4 (2205-SFP1) =
*Release Date - 25 May 2022*
= 1.3.6 (2211-SFP2) =
*Release Date - 03 November 2022*

* Add images for browser and search engine,
* Add ecosia search engine in dashbord,
* Update whichbrowser v2.1.2 => v2.1.7,
* Add Chart by_hours_days,
* Correction variable data not initialized,
* Test up to Wordpress 6.0,
* Update GeoIP Database 20220524.
* Correction summary dashbord (exclude local location),
* Update GeoIP Database 20221104.


See [changelog.txt](https://plugins.svn.wordpress.org/stats4wp/trunk/changelog.txt) for older changelog
Expand Down
4 changes: 2 additions & 2 deletions stats4wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: stats4wp
Plugin URI: https://ginkgos.net/plugin/stats4wp/
Description: Statistics For WorPress.
Version: 1.3.4
Version: 1.3.6
Requires at least: 5.2
Tested up to: 6.0
Requires PHP: 7.4
Expand Down Expand Up @@ -40,7 +40,7 @@
/**
* Plugin variable information
*/
define('STATS4WP_VERSION', '1.3.4' );
define('STATS4WP_VERSION', '1.3.6' );
define('STATS4WP_NAME', 'stats4wp' );
define('STATS4WP_FILE', __FILE__ );
define('STATS4WP_PATH', plugin_dir_path( STATS4WP_FILE ) );
Expand Down
2 changes: 1 addition & 1 deletion templates-part/dashboard/summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}
$summary_users = $wpdb->get_row("SELECT count(*) as visitors,SUM(hits) as visits
FROM ". DB::table('visitor').
" WHERE device!='bot'
" WHERE device!='bot' and location != 'local'
AND last_counter BETWEEN '". $from ."' AND '". $to."'");
if ($max != $summary_users->visitors || $nb == 8) {
echo '<tr>
Expand Down
Loading

0 comments on commit be15464

Please sign in to comment.