Matomo Analytics – Ethical Stats. Powerful Insights. - Version 4.0.1

Version Description

Download this release

Release Info

Developer matomoteam
Plugin Icon 128x128 Matomo Analytics – Ethical Stats. Powerful Insights.
Version 4.0.1
Comparing to
See all releases

Code changes from version 4.0.0 to 4.0.1

Files changed (3) hide show
  1. matomo.php +1 -1
  2. plugins/WordPress/WordPress.php +8 -3
  3. readme.txt +1 -1
matomo.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: The #1 Google Analytics alternative that gives you full control over your data and protects the privacy for your users. Free, secure and open.
5
  * Author: Matomo
6
  * Author URI: https://matomo.org
7
- * Version: 4.0.0
8
  * Domain Path: /languages
9
  * WC requires at least: 2.4.0
10
  * WC tested up to: 4.6.0
4
  * Description: The #1 Google Analytics alternative that gives you full control over your data and protects the privacy for your users. Free, secure and open.
5
  * Author: Matomo
6
  * Author URI: https://matomo.org
7
+ * Version: 4.0.1
8
  * Domain Path: /languages
9
  * WC requires at least: 2.4.0
10
  * WC tested up to: 4.6.0
plugins/WordPress/WordPress.php CHANGED
@@ -200,9 +200,14 @@ class WordPress extends Plugin
200
  return;
201
  }
202
 
203
- if (strpos($url, 'module=API&method=API.get') !== false
204
- && strpos($url, '&trigger=archivephp') !== false
205
- && Url::isValidHost(parse_url($url, PHP_URL_HOST))) {
 
 
 
 
 
206
  // archiving query... we avoid issueing an http request for many reasons...
207
  // eg user might be using self signed certificate and request fails
208
  // eg http requests may not be allowed
200
  return;
201
  }
202
 
203
+ if ((strpos($url, 'module=API&method=API.get') !== false
204
+ && strpos($url, '&trigger=archivephp') !== false
205
+ && Url::isValidHost(parse_url($url, PHP_URL_HOST)))
206
+ ||
207
+ (strpos($url, 'module=API&method=CoreAdminHome.archiveReports') !== false
208
+ && strpos($url, '&trigger=archivephp') !== false
209
+ && Url::isValidHost(parse_url($url, PHP_URL_HOST)))
210
+ ) {
211
  // archiving query... we avoid issueing an http request for many reasons...
212
  // eg user might be using self signed certificate and request fails
213
  // eg http requests may not be allowed
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: matomo,piwik,analytics,statistics,stats,tracking,ecommerce
5
  Requires at least: 4.8
6
  Tested up to: 5.6
7
- Stable tag: 4.0.0
8
  Requires PHP: 7.2.5
9
  License: GPLv3 or later
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
4
  Tags: matomo,piwik,analytics,statistics,stats,tracking,ecommerce
5
  Requires at least: 4.8
6
  Tested up to: 5.6
7
+ Stable tag: 4.0.1
8
  Requires PHP: 7.2.5
9
  License: GPLv3 or later
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html