Version Description
Track changes to posts when using the block editor.
=
Download this release
Release Info
Developer | kasparsd |
Plugin | Stream |
Version | 3.9.0 |
Comparing to | |
See all releases |
Code changes from version 3.8.2 to 3.9.0
- classes/class-db-driver-wpdb.php +3 -1
- classes/class-plugin.php +1 -1
- composer.json +7 -1
- connectors/class-connector-posts.php +0 -7
- readme.txt +10 -4
- stream.php +1 -1
classes/class-db-driver-wpdb.php
CHANGED
@@ -81,7 +81,9 @@ class DB_Driver_WPDB implements DB_Driver {
|
|
81 |
// Insert record meta.
|
82 |
foreach ( (array) $meta as $key => $vals ) {
|
83 |
foreach ( (array) $vals as $val ) {
|
84 |
-
|
|
|
|
|
85 |
}
|
86 |
}
|
87 |
|
81 |
// Insert record meta.
|
82 |
foreach ( (array) $meta as $key => $vals ) {
|
83 |
foreach ( (array) $vals as $val ) {
|
84 |
+
if ( is_scalar( $val ) && '' !== $val ) {
|
85 |
+
$this->insert_meta( $record_id, $key, $val );
|
86 |
+
}
|
87 |
}
|
88 |
}
|
89 |
|
classes/class-plugin.php
CHANGED
@@ -18,7 +18,7 @@ class Plugin {
|
|
18 |
*
|
19 |
* @const string
|
20 |
*/
|
21 |
-
const VERSION = '3.
|
22 |
|
23 |
/**
|
24 |
* WP-CLI command
|
18 |
*
|
19 |
* @const string
|
20 |
*/
|
21 |
+
const VERSION = '3.9.0';
|
22 |
|
23 |
/**
|
24 |
* WP-CLI command
|
composer.json
CHANGED
@@ -27,13 +27,19 @@
|
|
27 |
"wpackagist-plugin/easy-digital-downloads": "2.9.23",
|
28 |
"wpackagist-plugin/jetpack": "10.0",
|
29 |
"wpackagist-plugin/user-switching": "1.5.5",
|
30 |
-
"wpsh/local": "^0.2.3"
|
|
|
31 |
},
|
32 |
"config": {
|
33 |
"process-timeout": 600,
|
34 |
"sort-packages": true,
|
35 |
"platform": {
|
36 |
"php": "5.6.20"
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
},
|
39 |
"extra": {
|
27 |
"wpackagist-plugin/easy-digital-downloads": "2.9.23",
|
28 |
"wpackagist-plugin/jetpack": "10.0",
|
29 |
"wpackagist-plugin/user-switching": "1.5.5",
|
30 |
+
"wpsh/local": "^0.2.3",
|
31 |
+
"yoast/phpunit-polyfills": "^1.0"
|
32 |
},
|
33 |
"config": {
|
34 |
"process-timeout": 600,
|
35 |
"sort-packages": true,
|
36 |
"platform": {
|
37 |
"php": "5.6.20"
|
38 |
+
},
|
39 |
+
"allow-plugins": {
|
40 |
+
"composer/installers": true,
|
41 |
+
"johnpbloch/wordpress-core-installer": true,
|
42 |
+
"dealerdirect/phpcodesniffer-composer-installer": true
|
43 |
}
|
44 |
},
|
45 |
"extra": {
|
connectors/class-connector-posts.php
CHANGED
@@ -28,13 +28,6 @@ class Connector_Posts extends Connector {
|
|
28 |
'deleted_post',
|
29 |
);
|
30 |
|
31 |
-
/**
|
32 |
-
* Register connector in the WP Frontend
|
33 |
-
*
|
34 |
-
* @var bool
|
35 |
-
*/
|
36 |
-
public $register_frontend = false;
|
37 |
-
|
38 |
/**
|
39 |
* Return translated connector label
|
40 |
*
|
28 |
'deleted_post',
|
29 |
);
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
/**
|
32 |
* Return translated connector label
|
33 |
*
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: xwp
|
3 |
Tags: wp stream, stream, activity, logs, track
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -91,13 +91,19 @@ Past Contributors: fjarrett, shadyvb, chacha, westonruter, johnregan3, jacobschw
|
|
91 |
|
92 |
== Upgrade Notice ==
|
93 |
|
94 |
-
= 3.
|
95 |
|
96 |
-
|
97 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
= 3.8.2 - October 12, 2021 =
|
102 |
|
103 |
- Security fix: Ensure the value of `order` query parameter forwarded to the database query when viewing the Stream records in the WordPress admin (for authenticated users) is only `ASC` or `DESC`. Previously it passed the whole value of the `order` parameter filtered through `esc_sql()`.
|
2 |
Contributors: xwp
|
3 |
Tags: wp stream, stream, activity, logs, track
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 5.9
|
6 |
+
Stable tag: 3.9.0
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
91 |
|
92 |
== Upgrade Notice ==
|
93 |
|
94 |
+
= 3.9.0 =
|
95 |
|
96 |
+
Track changes to posts when using the block editor.
|
97 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 3.9.0 - March 8, 2022 =
|
102 |
+
|
103 |
+
- Fix: Track changes to posts when using the block editor by making the Posts connector to run on both frontend and backend requests since block editor changes happen over the REST API [#1264](https://github.com/xwp/stream/pull/1264), props [@coreymckrill](https://github.com/coreymckrill).
|
104 |
+
- Fix: Don't store empty log event parameters [#1307](https://github.com/xwp/stream/pull/1307), props [@lkraav](https://github.com/lkraav).
|
105 |
+
- Development: Adjust the local development environment to use MariaDB containers for ARM processor compatabilty.
|
106 |
+
|
107 |
= 3.8.2 - October 12, 2021 =
|
108 |
|
109 |
- Security fix: Ensure the value of `order` query parameter forwarded to the database query when viewing the Stream records in the WordPress admin (for authenticated users) is only `ASC` or `DESC`. Previously it passed the whole value of the `order` parameter filtered through `esc_sql()`.
|
stream.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Stream
|
4 |
* Plugin URI: https://xwp.co/work/stream/
|
5 |
* Description: Stream tracks logged-in user activity so you can monitor every change made on your WordPress site in beautifully organized detail. All activity is organized by context, action and IP address for easy filtering. Developers can extend Stream with custom connectors to log any kind of action.
|
6 |
-
* Version: 3.
|
7 |
* Author: XWP
|
8 |
* Author URI: https://xwp.co
|
9 |
* License: GPLv2+
|
3 |
* Plugin Name: Stream
|
4 |
* Plugin URI: https://xwp.co/work/stream/
|
5 |
* Description: Stream tracks logged-in user activity so you can monitor every change made on your WordPress site in beautifully organized detail. All activity is organized by context, action and IP address for easy filtering. Developers can extend Stream with custom connectors to log any kind of action.
|
6 |
+
* Version: 3.9.0
|
7 |
* Author: XWP
|
8 |
* Author URI: https://xwp.co
|
9 |
* License: GPLv2+
|