WP Statistics - Version 13.0.1

Version Description

New Feature

  • Added error logs system
  • Added the ability to change visitors data based on WordPress hook
  • Added the ability to manage the plugin based on WP-CLI
  • Added a link to show users locations coordinates on Google Map based on their IP
  • Added advanced filters in the page of WordPress website visitors list
  • Added the class of sending standard email reports in the WordPress
  • Added the ability to get WordPress users in the database record

Bug Fix

  • Fixed recording visitors data problem when the cache plugin is installed
  • Fixed exclusion problem in Ajax requests mode
  • Fixed REST-API requests problem in JavaScript mode without jQuery library
  • Fixed the issue of limiting the number of database table records
  • Fixed the problem of getting WordPress page type in taxonomy mode
  • Fixed display of visitor history for yesterday and today

Improvement

  • Improved widget information based on REST-API
  • Optimized and troubleshot database tables after an interval of one day
  • Improved plugin information deleting operation
  • Improved receiving country and city visitors information based on WordPress cache IP
  • Improved display plugin management menus list in WordPress
  • Improved search engine display in the mode of referring users from the search engine to the website
  • Improved widgets display and Ajax loading capability
  • Improved loading of JS files based on plugin-specific pages
Download this release

Release Info

Developer mostafa.s1990
Plugin Icon 128x128 WP Statistics
Version 13.0.1
Comparing to
See all releases

Code changes from version 13.0 to 13.0.1

includes/class-wp-statistics-updates.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Class WP_Statistics_Updates
5
+ */
6
+ class WP_Statistics_Updates {
7
+ public static $geoip = array();
8
+ static function do_upgrade() {}
9
+ static function download_geoip( $pack, $type = "enable" ) {}
10
+ static function download_referrerspam() {}
11
+ static function populate_geoip_info() {}
12
+ }
includes/class-wp-statistics.php CHANGED
@@ -64,7 +64,6 @@ final class WP_Statistics
64
  * Install And Upgrade plugin
65
  */
66
  register_activation_hook(WP_STATISTICS_MAIN_FILE, array('WP_Statistics', 'install'));
67
- register_uninstall_hook(WP_STATISTICS_MAIN_FILE, array('WP_Statistics', 'uninstall'));
68
 
69
  /**
70
  * wp-statistics loaded
@@ -126,6 +125,7 @@ final class WP_Statistics
126
  require_once WP_STATISTICS_DIR . 'includes/vendor/autoload.php';
127
 
128
  // Utility classes.
 
129
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-db.php';
130
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-timezone.php';
131
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-option.php';
@@ -336,14 +336,11 @@ final class WP_Statistics
336
  */
337
  public function disable_addons()
338
  {
339
- // Check installed plugin version
340
- if (version_compare(WP_STATISTICS_VERSION, '13.0', '!=')) {
341
- return;
342
- }
343
-
344
  // Check Before Action
345
  $option = get_option('wp_statistics_disable_addons', 'no');
346
- if ($option == "no") {
 
 
347
  $addOns = array(
348
  'wp-statistics-actions/wp-statistics-actions.php',
349
  'wp-statistics-advanced-reporting/wp-statistics-advanced-reporting.php',
64
  * Install And Upgrade plugin
65
  */
66
  register_activation_hook(WP_STATISTICS_MAIN_FILE, array('WP_Statistics', 'install'));
 
67
 
68
  /**
69
  * wp-statistics loaded
125
  require_once WP_STATISTICS_DIR . 'includes/vendor/autoload.php';
126
 
127
  // Utility classes.
128
+ require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-updates.php';
129
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-db.php';
130
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-timezone.php';
131
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-option.php';
336
  */
337
  public function disable_addons()
338
  {
 
 
 
 
 
339
  // Check Before Action
340
  $option = get_option('wp_statistics_disable_addons', 'no');
341
+
342
+ // Check
343
+ if ($option == "no" and version_compare(WP_STATISTICS_VERSION, '12.6.13', '>')) {
344
  $addOns = array(
345
  'wp-statistics-actions/wp-statistics-actions.php',
346
  'wp-statistics-advanced-reporting/wp-statistics-advanced-reporting.php',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-statistics.com/donate/
4
  Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
5
  Requires at least: 3.0
6
  Tested up to: 5.5
7
- Stable tag: 13.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -122,7 +122,7 @@ Before updating, make sure you disabled all your add-ons, then after that, try t
122
  If you encounter any bug, please create an issue on [Github](https://github.com/wp-statistics/wp-statistics/issues/new) where we can act upon them more efficiently. Since [Github](https://github.com/wp-statistics/wp-statistics) is not a support forum, just bugs are welcomed, and any other request will be closed.
123
 
124
  == Changelog ==
125
- = 13.0 =
126
 
127
  **New Feature**
128
 
4
  Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
5
  Requires at least: 3.0
6
  Tested up to: 5.5
7
+ Stable tag: 13.0.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
122
  If you encounter any bug, please create an issue on [Github](https://github.com/wp-statistics/wp-statistics/issues/new) where we can act upon them more efficiently. Since [Github](https://github.com/wp-statistics/wp-statistics) is not a support forum, just bugs are welcomed, and any other request will be closed.
123
 
124
  == Changelog ==
125
+ = 13.0.1 =
126
 
127
  **New Feature**
128
 
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: This plugin gives you the complete information on your website's visitors.
6
- * Version: 13.0
7
  * Author: VeronaLabs
8
  * Author URI: https://veronalabs.com/
9
  * Text Domain: wp-statistics
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: This plugin gives you the complete information on your website's visitors.
6
+ * Version: 13.0.1
7
  * Author: VeronaLabs
8
  * Author URI: https://veronalabs.com/
9
  * Text Domain: wp-statistics