WP Statistics - Version 12.6.13

Version Description

  • WordPress 5.4 compatibility.
  • Fixed: Updating the GeoIP DB and forced to use the Github repository instead of the Maxmind
Download this release

Release Info

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

Code changes from version 12.6.12 to 12.6.13

includes/classes/class-wp-statistics-updates.php CHANGED
@@ -72,13 +72,7 @@ class WP_Statistics_Updates {
72
  }
73
 
74
  // This is the location of the file to download.
75
- $download_url = WP_Statistics_Updates::$geoip[ $pack ]['cdn'];
76
- $response = wp_remote_get( $download_url );
77
-
78
- // Change download url if the maxmind.com doesn't response.
79
- if ( wp_remote_retrieve_response_code( $response ) != '200' ) {
80
- $download_url = WP_Statistics_Updates::$geoip[ $pack ]['github'];
81
- }
82
 
83
  // Get the upload directory from WordPress.
84
  $upload_dir = wp_upload_dir();
72
  }
73
 
74
  // This is the location of the file to download.
75
+ $download_url = WP_Statistics_Updates::$geoip[ $pack ]['github'];
 
 
 
 
 
 
76
 
77
  // Get the upload directory from WordPress.
78
  $upload_dir = wp_upload_dir();
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: mostafa.s1990, mehrshaddarzi, ghasemi71ir, GregRoss, dedidata
3
  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.3
7
  Requires PHP: 5.6
8
- Stable tag: 12.6.12
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -126,6 +126,10 @@ http://yourwebsite.com/wp-json/wpstatistics/v1
126
  To register, go to the Permalink page and update the permalink with press Save Changes.
127
 
128
  == Changelog ==
 
 
 
 
129
  = 12.6.12 =
130
  * Improvement: Minor issues.
131
 
3
  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.4
7
  Requires PHP: 5.6
8
+ Stable tag: 12.6.13
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
126
  To register, go to the Permalink page and update the permalink with press Save Changes.
127
 
128
  == Changelog ==
129
+ = 12.6.13 =
130
+ * WordPress 5.4 compatibility.
131
+ * Fixed: Updating the GeoIP DB and forced to use the Github repository instead of the Maxmind
132
+
133
  = 12.6.12 =
134
  * Improvement: Minor issues.
135
 
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: Complete WordPress Analytics and Statistics for your site!
6
- * Version: 12.6.12
7
  * Author: VeronaLabs
8
  * Author URI: http://veronalabs.com/
9
  * Text Domain: wp-statistics
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: Complete WordPress Analytics and Statistics for your site!
6
+ * Version: 12.6.13
7
  * Author: VeronaLabs
8
  * Author URI: http://veronalabs.com/
9
  * Text Domain: wp-statistics