WP Statistics - Version 7.0.1

Version Description

  • Fixed: Error during new installations due to $wpdb object not being available.
Download this release

Release Info

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

Code changes from version 7.0 to 7.0.1

Files changed (3) hide show
  1. readme.txt +4 -1
  2. wp-statistics.php +2 -2
  3. wps-install.php +1 -0
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, yearl, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
- Stable tag: 7.0
8
  License: GPL2
9
 
10
  Complete statistics for your WordPress site.
@@ -139,6 +139,9 @@ No.
139
  * If you have enabled statistical reporting you can now use any shortcode that is supported in your WordPress installation, the old variables will continue to work for the time being, however in a future version of WP Statistics they will be removed so please update your message text now with the appropriate shortcodes.
140
 
141
  == Changelog ==
 
 
 
142
  = 7.0 =
143
  * Added: New robots to the robots list: aiHitBot, AntivirusPro, BeetleBot, Blekkobot, cbot, clumboot, coccoc, crowsnest.tv, dbot, dotbot, downloadbot, EasouSpider, Exabot, facebook.com, FriendFeedBot, gimme60bot, GroupHigh, IstellaBot, Kraken, LinkpadBot, MojeekBot, NetcraftSurveyAgent, p4Bot, PaperLiBot, Pimonster, scrapy.org, SearchmetricsBot, SemanticBot, SemrushBot, SiteExplorer, Socialradarbot, SpiderLing, uMBot-LN, Vagabondo, vBSEO, WASALive-Bot, WebMasterAid, WeSEE, XoviBot, YoudaoBot,
144
  * Added: Overview page can now be customized for what is displayed on a per user basis.
4
  Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, yearl, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
+ Stable tag: 7.0.1
8
  License: GPL2
9
 
10
  Complete statistics for your WordPress site.
139
  * If you have enabled statistical reporting you can now use any shortcode that is supported in your WordPress installation, the old variables will continue to work for the time being, however in a future version of WP Statistics they will be removed so please update your message text now with the appropriate shortcodes.
140
 
141
  == Changelog ==
142
+ = 7.0.1 =
143
+ * Fixed: Error during new installations due to $wpdb object not being available.
144
+
145
  = 7.0 =
146
  * Added: New robots to the robots list: aiHitBot, AntivirusPro, BeetleBot, Blekkobot, cbot, clumboot, coccoc, crowsnest.tv, dbot, dotbot, downloadbot, EasouSpider, Exabot, facebook.com, FriendFeedBot, gimme60bot, GroupHigh, IstellaBot, Kraken, LinkpadBot, MojeekBot, NetcraftSurveyAgent, p4Bot, PaperLiBot, Pimonster, scrapy.org, SearchmetricsBot, SemanticBot, SemrushBot, SiteExplorer, Socialradarbot, SpiderLing, uMBot-LN, Vagabondo, vBSEO, WASALive-Bot, WebMasterAid, WeSEE, XoviBot, YoudaoBot,
147
  * Added: Overview page can now be customized for what is displayed on a per user basis.
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: 7.0
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', '7.0');
21
  define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
22
  define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', '5.3.0');
23
  define('WPS_EXPORT_FILE_NAME', 'wp-statistics');
3
  Plugin Name: WP Statistics
4
  Plugin URI: http://wp-statistics.com/
5
  Description: Complete statistics for your WordPress site.
6
+ Version: 7.0.1
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', '7.0.1');
21
  define('WP_STATISTICS_MANUAL', 'manual/WP Statistics Admin Manual.');
22
  define('WP_STATISTICS_REQUIRED_GEOIP_PHP_VERSION', '5.3.0');
23
  define('WPS_EXPORT_FILE_NAME', 'wp-statistics');
wps-install.php CHANGED
@@ -61,6 +61,7 @@
61
  KEY `id` (`id`)
62
  ) CHARSET=utf8");
63
 
 
64
  // Check the number of index's on the visitors table, if it's only 5 we need to check for duplicate entries and remove them
65
  $result = $wpdb->query('SHOW INDEX FROM wp_statistics_visitor');
66
 
61
  KEY `id` (`id`)
62
  ) CHARSET=utf8");
63
 
64
+ GLOBAL $wpdb;
65
  // Check the number of index's on the visitors table, if it's only 5 we need to check for duplicate entries and remove them
66
  $result = $wpdb->query('SHOW INDEX FROM wp_statistics_visitor');
67