Version Description
- [Fix] A regression bug was introduced in 4.8.6, affecting some of the shortcodes and reports.
Download this release
Release Info
Developer | coolmann |
Plugin | Slimstat Analytics |
Version | 4.8.6.1 |
Comparing to | |
See all releases |
Code changes from version 4.8.6 to 4.8.6.1
- CHANGELOG.md +3 -0
- admin/view/wp-slimstat-db.php +7 -6
- readme.txt +4 -1
- wp-slimstat.php +2 -2
CHANGELOG.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
## Changelog ##
|
|
|
|
|
|
|
2 |
### 4.8.6 ###
|
3 |
* [New] Slimstat can now track most WordPress redirects and mark them with the appropriate content type.
|
4 |
* [Update] The GDPR compliance through third-party tools is now more flexible and allows admins to specify name/value pairs so that the cookie must CONTAIN the given string.
|
1 |
## Changelog ##
|
2 |
+
### 4.8.6.1 ###
|
3 |
+
* [Fix] A regression bug was introduced in 4.8.6, affecting some of the shortcodes and reports.
|
4 |
+
|
5 |
### 4.8.6 ###
|
6 |
* [New] Slimstat can now track most WordPress redirects and mark them with the appropriate content type.
|
7 |
* [Update] The GDPR compliance through third-party tools is now more flexible and allows admins to specify name/value pairs so that the cookie must CONTAIN the given string.
|
admin/view/wp-slimstat-db.php
CHANGED
@@ -867,30 +867,31 @@ class wp_slimstat_db {
|
|
867 |
$_column = $_column[ 'columns' ];
|
868 |
}
|
869 |
|
|
|
870 |
if ( !empty( $_as_column ) ) {
|
871 |
-
$
|
872 |
}
|
873 |
|
874 |
if ( $_column != '*' ) {
|
875 |
-
$
|
876 |
}
|
877 |
else {
|
878 |
-
$
|
879 |
}
|
880 |
|
881 |
if ( !empty( $_more_columns ) ) {
|
882 |
-
$
|
883 |
}
|
884 |
|
885 |
$_where = self::get_combined_where( $_where, $_column, $_use_date_filters );
|
886 |
|
887 |
$results = self::get_results( "
|
888 |
-
SELECT $
|
889 |
FROM {$GLOBALS['wpdb']->prefix}slim_stats
|
890 |
WHERE $_where
|
891 |
ORDER BY $_order_by
|
892 |
LIMIT 0, " . self::$filters_normalized[ 'misc' ][ 'limit_results' ],
|
893 |
-
$
|
894 |
'dt DESC' );
|
895 |
|
896 |
if ( $_column != '*' ) {
|
867 |
$_column = $_column[ 'columns' ];
|
868 |
}
|
869 |
|
870 |
+
$columns = $_column;
|
871 |
if ( !empty( $_as_column ) ) {
|
872 |
+
$columns = "$_column AS $_as_column";
|
873 |
}
|
874 |
|
875 |
if ( $_column != '*' ) {
|
876 |
+
$columns .= ', ip, dt';
|
877 |
}
|
878 |
else {
|
879 |
+
$columns = 'id, ip, other_ip, username, email, country, city, location, referer, resource, searchterms, notes, visit_id, server_latency, page_performance, browser, browser_version, browser_type, platform, language, fingerprint, user_agent, resolution, screen_width, screen_height, content_type, category, author, content_id, outbound_resource, tz_offset, dt_out, dt';
|
880 |
}
|
881 |
|
882 |
if ( !empty( $_more_columns ) ) {
|
883 |
+
$columns .= ', ' . $_more_columns;
|
884 |
}
|
885 |
|
886 |
$_where = self::get_combined_where( $_where, $_column, $_use_date_filters );
|
887 |
|
888 |
$results = self::get_results( "
|
889 |
+
SELECT $columns
|
890 |
FROM {$GLOBALS['wpdb']->prefix}slim_stats
|
891 |
WHERE $_where
|
892 |
ORDER BY $_order_by
|
893 |
LIMIT 0, " . self::$filters_normalized[ 'misc' ][ 'limit_results' ],
|
894 |
+
$columns,
|
895 |
'dt DESC' );
|
896 |
|
897 |
if ( $_column != '*' ) {
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Text Domain: wp-slimstat
|
|
6 |
Requires at least: 3.8
|
7 |
Requires PHP: 5.2
|
8 |
Tested up to: 5.2
|
9 |
-
Stable tag: 4.8.6
|
10 |
|
11 |
== Description ==
|
12 |
The leading web analytics plugin for WordPress. Track returning customers and registered users, monitor Javascript events, detect intrusions, analyze email campaigns. Thousands of WordPress sites are already using it.
|
@@ -60,6 +60,9 @@ Our knowledge base is available on our [support center](https://docs.wp-slimstat
|
|
60 |
5. **Responsive layout** - Keep an eye on your reports on the go
|
61 |
|
62 |
== Changelog ==
|
|
|
|
|
|
|
63 |
= 4.8.6 =
|
64 |
* [New] Slimstat can now track most WordPress redirects and mark them with the appropriate content type.
|
65 |
* [Update] The GDPR compliance through third-party tools is now more flexible and allows admins to specify name/value pairs so that the cookie must CONTAIN the given string.
|
6 |
Requires at least: 3.8
|
7 |
Requires PHP: 5.2
|
8 |
Tested up to: 5.2
|
9 |
+
Stable tag: 4.8.6.1
|
10 |
|
11 |
== Description ==
|
12 |
The leading web analytics plugin for WordPress. Track returning customers and registered users, monitor Javascript events, detect intrusions, analyze email campaigns. Thousands of WordPress sites are already using it.
|
60 |
5. **Responsive layout** - Keep an eye on your reports on the go
|
61 |
|
62 |
== Changelog ==
|
63 |
+
= 4.8.6.1 =
|
64 |
+
* [Fix] A regression bug was introduced in 4.8.6, affecting some of the shortcodes and reports.
|
65 |
+
|
66 |
= 4.8.6 =
|
67 |
* [New] Slimstat can now track most WordPress redirects and mark them with the appropriate content type.
|
68 |
* [Update] The GDPR compliance through third-party tools is now more flexible and allows admins to specify name/value pairs so that the cookie must CONTAIN the given string.
|
wp-slimstat.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Slimstat Analytics
|
4 |
Plugin URI: https://wordpress.org/plugins/wp-slimstat/
|
5 |
Description: The leading web analytics plugin for WordPress
|
6 |
-
Version: 4.8.6
|
7 |
Author: Jason Crouse
|
8 |
Author URI: https://www.wp-slimstat.com/
|
9 |
Text Domain: wp-slimstat
|
@@ -15,7 +15,7 @@ if ( !empty( wp_slimstat::$settings ) ) {
|
|
15 |
}
|
16 |
|
17 |
class wp_slimstat {
|
18 |
-
public static $version = '4.8.6';
|
19 |
public static $settings = array();
|
20 |
|
21 |
public static $wpdb = '';
|
3 |
Plugin Name: Slimstat Analytics
|
4 |
Plugin URI: https://wordpress.org/plugins/wp-slimstat/
|
5 |
Description: The leading web analytics plugin for WordPress
|
6 |
+
Version: 4.8.6.1
|
7 |
Author: Jason Crouse
|
8 |
Author URI: https://www.wp-slimstat.com/
|
9 |
Text Domain: wp-slimstat
|
15 |
}
|
16 |
|
17 |
class wp_slimstat {
|
18 |
+
public static $version = '4.8.6.1';
|
19 |
public static $settings = array();
|
20 |
|
21 |
public static $wpdb = '';
|