WP Statistics - Version 8.6.2

Version Description

  • Fixed: New included countries code incorrectly identified all countries as excluded.
Download this release

Release Info

Developer GregRoss
Plugin Icon 128x128 WP Statistics
Version 8.6.2
Comparing to
See all releases

Code changes from version 8.6.1 to 8.6.2

includes/classes/hits.class.php CHANGED
@@ -182,7 +182,7 @@
182
  $this->exclusion_match = TRUE;
183
  $this->exclusion_reason = "geoip";
184
  } // Check to see if the current location is not the included countries list.
185
- else if( !in_array( $this->location, $included_countries ) ) {
186
  $this->exclusion_match = TRUE;
187
  $this->exclusion_reason = "geoip";
188
  }
182
  $this->exclusion_match = TRUE;
183
  $this->exclusion_reason = "geoip";
184
  } // Check to see if the current location is not the included countries list.
185
+ else if( !in_array( $this->location, $included_countries ) && count( $included_countries ) > 0 ) {
186
  $this->exclusion_match = TRUE;
187
  $this->exclusion_reason = "geoip";
188
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://mostafa-soufi.ir/donate/
4
  Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, year, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
- Stable tag: 8.6.1
8
  License: GPL2
9
 
10
  Complete statistics for your WordPress site.
@@ -210,6 +210,9 @@ BACKUP YOUR DATABASE BEFORE INSTALLING! This release alters the table structure
210
  Support for old format substitution codes in the statistics reports has been removed, the upgrade now converts them to short codes but you should verify the report content after upgrading.
211
 
212
  == Changelog ==
 
 
 
213
  = 8.6.1 =
214
  * Added: Code to perform additional clean up of uncommon user agents.
215
  * Fixed: Spurious break statement in GeoIP exclusion code which caused a fatal error in certian cases.
4
  Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, year, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
+ Stable tag: 8.6.2
8
  License: GPL2
9
 
10
  Complete statistics for your WordPress site.
210
  Support for old format substitution codes in the statistics reports has been removed, the upgrade now converts them to short codes but you should verify the report content after upgrading.
211
 
212
  == Changelog ==
213
+ = 8.6.2 =
214
+ * Fixed: New included countries code incorrectly identified all countries as excluded.
215
+
216
  = 8.6.1 =
217
  * Added: Code to perform additional clean up of uncommon user agents.
218
  * Fixed: Spurious break statement in GeoIP exclusion code which caused a fatal error in certian cases.
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Statistics
4
  Plugin URI: http://wp-statistics.com/
5
  Description: Complete statistics for your WordPress site.
6
- Version: 8.6.1
7
  Author: Mostafa Soufi & Greg Ross
8
  Author URI: http://wp-statistics.com/
9
  Text Domain: wp_statistics
@@ -17,7 +17,7 @@ License: GPL2
17
  }
18
 
19
  // These defines are used later for various reasons.
20
- define('WP_STATISTICS_VERSION', '8.6.1');
21
  define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
22
  define('WP_STATISTICS_REQUIRED_PHP_VERSION', '5.3.0');
23
  define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', WP_STATISTICS_REQUIRED_PHP_VERSION);
3
  Plugin Name: WP Statistics
4
  Plugin URI: http://wp-statistics.com/
5
  Description: Complete statistics for your WordPress site.
6
+ Version: 8.6.2
7
  Author: Mostafa Soufi & Greg Ross
8
  Author URI: http://wp-statistics.com/
9
  Text Domain: wp_statistics
17
  }
18
 
19
  // These defines are used later for various reasons.
20
+ define('WP_STATISTICS_VERSION', '8.6.2');
21
  define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
22
  define('WP_STATISTICS_REQUIRED_PHP_VERSION', '5.3.0');
23
  define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', WP_STATISTICS_REQUIRED_PHP_VERSION);