Version Description
= 13.0 = IMPORTANT NOTE Welcome to WP-Statistics v13.0, our biggest update! Thank you for being part of our community. Weve been working hard for one year to develop this version and make WP-Statistics better for you. Before updating, make sure you disabled all your add-ons, then after that, try to update add-ons.
If you encounter any bug, please create an issue on Github where we can act upon them more efficiently. Since Github is not a support forum, just bugs are welcomed, and any other request will be closed.
Download this release
Release Info
Developer | mostafa.s1990 |
Plugin | WP Statistics |
Version | 13.1.4 |
Comparing to | |
See all releases |
Code changes from version 13.1.3 to 13.1.4
includes/admin/class-wp-statistics-admin-assets.php
CHANGED
@@ -359,7 +359,7 @@ class Admin_Assets
|
|
359 |
'dayNamesMin' => Helper::strip_array_indices($wp_locale->weekday_initial),
|
360 |
'dateFormat' => 'yy-mm-dd', // Format time for Jquery UI
|
361 |
'firstDay' => get_option('start_of_week'),
|
362 |
-
'isRTL' =>
|
363 |
);
|
364 |
}
|
365 |
}
|
359 |
'dayNamesMin' => Helper::strip_array_indices($wp_locale->weekday_initial),
|
360 |
'dateFormat' => 'yy-mm-dd', // Format time for Jquery UI
|
361 |
'firstDay' => get_option('start_of_week'),
|
362 |
+
'isRTL' => $wp_locale->is_rtl(),
|
363 |
);
|
364 |
}
|
365 |
}
|
includes/class-wp-statistics-frontend.php
CHANGED
@@ -97,7 +97,7 @@ class Frontend
|
|
97 |
$params = wp_parse_args($params, UserAgent::getUserAgent());
|
98 |
|
99 |
//Set Referred
|
100 |
-
$params['referred'] = Referred::get();
|
101 |
|
102 |
//Set IP
|
103 |
$params['ip'] = esc_html(IP::getIP());
|
97 |
$params = wp_parse_args($params, UserAgent::getUserAgent());
|
98 |
|
99 |
//Set Referred
|
100 |
+
$params['referred'] = urlencode(Referred::get());
|
101 |
|
102 |
//Set IP
|
103 |
$params['ip'] = esc_html(IP::getIP());
|
includes/class-wp-statistics-referred.php
CHANGED
@@ -56,7 +56,7 @@ class Referred
|
|
56 |
$referred = self::getRefererURL();
|
57 |
|
58 |
// Sanitize Referer Url
|
59 |
-
$referred =
|
60 |
|
61 |
// If Referer is Empty then use same WebSite Url
|
62 |
if (empty($referred)) {
|
@@ -363,7 +363,7 @@ class Referred
|
|
363 |
$domain_name = rtrim(preg_replace('/^https?:\/\//', '', get_site_url()), " / ");
|
364 |
foreach (array("http", "https", "ftp") as $protocol) {
|
365 |
foreach (array('', 'www.') as $w3) {
|
366 |
-
$where
|
367 |
}
|
368 |
}
|
369 |
|
56 |
$referred = self::getRefererURL();
|
57 |
|
58 |
// Sanitize Referer Url
|
59 |
+
$referred = esc_url_raw(strip_tags($referred));
|
60 |
|
61 |
// If Referer is Empty then use same WebSite Url
|
62 |
if (empty($referred)) {
|
363 |
$domain_name = rtrim(preg_replace('/^https?:\/\//', '', get_site_url()), " / ");
|
364 |
foreach (array("http", "https", "ftp") as $protocol) {
|
365 |
foreach (array('', 'www.') as $w3) {
|
366 |
+
$where .= " AND `referred` NOT LIKE '{$protocol}://{$w3}{$domain_name}%' ";
|
367 |
}
|
368 |
}
|
369 |
|
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.8
|
7 |
-
Stable tag: 13.1.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -124,6 +124,12 @@ Before updating, make sure you disabled all your add-ons, then after that, try t
|
|
124 |
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.
|
125 |
|
126 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
= v13.1.3 - 23.12.2021 =
|
128 |
* Bugfix: The issue for showing the pagination in date range template has been fixed
|
129 |
* Enhancement: Skip undefined `HTTP_HOST` notice error
|
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.8
|
7 |
+
Stable tag: 13.1.4
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
124 |
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.
|
125 |
|
126 |
== Changelog ==
|
127 |
+
= v13.1.4 - 14.01.2022 =
|
128 |
+
* Enhancement: Datepicker direction issue has been fixed
|
129 |
+
* Enhancement: UTF-8 referrers URLs has been supported
|
130 |
+
* Bugfix: The Apache 403 error has been fixed when passing the actual URL as the GET parameter
|
131 |
+
* Bugfix: Date filter in Top Referring Sites has been fixed
|
132 |
+
|
133 |
= v13.1.3 - 23.12.2021 =
|
134 |
* Bugfix: The issue for showing the pagination in date range template has been fixed
|
135 |
* Enhancement: Skip undefined `HTTP_HOST` notice error
|
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.1.
|
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.1.4
|
7 |
* Author: VeronaLabs
|
8 |
* Author URI: https://veronalabs.com/
|
9 |
* Text Domain: wp-statistics
|