WP Statistics - Version 9.1.2

Version Description

If upgrading from pre-9.0, please make sure to backup your database before installing. Once installed, please go to Statistics->Optimization->Database and add the visits index.

Download this release

Release Info

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

Code changes from version 9.1.1 to 9.1.2

Files changed (3) hide show
  1. readme.txt +12 -3
  2. wp-statistics.php +2 -2
  3. wps-install.php +1 -1
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mostafa.s1990, GregRoss
3
  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.1
7
- Stable tag: 9.1.1
8
  License: GPL3
9
 
10
  Complete statistics for your WordPress site.
@@ -214,6 +214,12 @@ There can be many reasons for this, but the most common reason is a botnet has d
214
  10. View latest search engine referrers Statistics page.
215
 
216
  == Upgrade Notice ==
 
 
 
 
 
 
217
  = 9.1 =
218
  BACKUP YOUR DATABASE BEFORE INSTALLING! This release alters the table structure of the database. Once installed, please go to Statistics->Optimization->Database and add the visits index.
219
 
@@ -221,8 +227,11 @@ BACKUP YOUR DATABASE BEFORE INSTALLING! This release alters the table structure
221
  This release updates some core code to do with timezones, hence the change to version 9.0, if you see any issues with timezones, please let us know. In addition, you may see an increase in your visits count as a race condition that dropped some visits has been resolved.
222
 
223
  == Changelog ==
 
 
 
224
  = 9.1.1 =
225
- *Fixed: Verify the $display settings return an array before using it as an array to avoid warning on overview page.
226
 
227
  = 9.1 =
228
  * Added: Unique index requirement on visits table to avoid race condition creating duplicate entires.
3
  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.2
7
+ Stable tag: 9.1.2
8
  License: GPL3
9
 
10
  Complete statistics for your WordPress site.
214
  10. View latest search engine referrers Statistics page.
215
 
216
  == Upgrade Notice ==
217
+ = 9.1.2 =
218
+ If upgrading from pre-9.0, please make sure to backup your database before installing. Once installed, please go to Statistics->Optimization->Database and add the visits index.
219
+
220
+ = 9.1.1 =
221
+ If upgrading from pre-9.0, please make sure to backup your database before installing. Once installed, please go to Statistics->Optimization->Database and add the visits index.
222
+
223
  = 9.1 =
224
  BACKUP YOUR DATABASE BEFORE INSTALLING! This release alters the table structure of the database. Once installed, please go to Statistics->Optimization->Database and add the visits index.
225
 
227
  This release updates some core code to do with timezones, hence the change to version 9.0, if you see any issues with timezones, please let us know. In addition, you may see an increase in your visits count as a race condition that dropped some visits has been resolved.
228
 
229
  == Changelog ==
230
+ = 9.1.2 =
231
+ * Fixed: Removed spurious comma in SQL creation script for Visits table, thanks kitchin.
232
+
233
  = 9.1.1 =
234
+ * Fixed: Verify the $display settings return an array before using it as an array to avoid warning on overview page.
235
 
236
  = 9.1 =
237
  * Added: Unique index requirement on visits table to avoid race condition creating duplicate entires.
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: 9.1.1
7
  Author: Mostafa Soufi & Greg Ross
8
  Author URI: http://wp-statistics.com/
9
  Text Domain: wp_statistics
@@ -12,7 +12,7 @@ License: GPL2
12
  */
13
 
14
  // These defines are used later for various reasons.
15
- define('WP_STATISTICS_VERSION', '9.1.1');
16
  define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
17
  define('WP_STATISTICS_REQUIRED_PHP_VERSION', '5.3.0');
18
  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: 9.1.2
7
  Author: Mostafa Soufi & Greg Ross
8
  Author URI: http://wp-statistics.com/
9
  Text Domain: wp_statistics
12
  */
13
 
14
  // These defines are used later for various reasons.
15
+ define('WP_STATISTICS_VERSION', '9.1.2');
16
  define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
17
  define('WP_STATISTICS_REQUIRED_PHP_VERSION', '5.3.0');
18
  define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', WP_STATISTICS_REQUIRED_PHP_VERSION);
wps-install.php CHANGED
@@ -25,7 +25,7 @@
25
  last_counter date NOT NULL,
26
  visit int(10) NOT NULL,
27
  PRIMARY KEY (ID),
28
- UNIQUE KEY unique_date (last_counter),
29
  ) CHARSET=utf8");
30
 
31
  $create_visitor_table = ("CREATE TABLE {$wp_prefix}statistics_visitor (
25
  last_counter date NOT NULL,
26
  visit int(10) NOT NULL,
27
  PRIMARY KEY (ID),
28
+ UNIQUE KEY unique_date (last_counter)
29
  ) CHARSET=utf8");
30
 
31
  $create_visitor_table = ("CREATE TABLE {$wp_prefix}statistics_visitor (