PluginProbe
Stream – Activity Log & Audit Trail / 3.6.0
Stream – Activity Log & Audit Trail v3.6.0
4.4.0 4.3.0 4.2.2 4.2.1 trunk 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1 3.1.1 3.10.0 3.2.0 3.2.1 3.2.2 3.2.3 All 50 releases
← All changes | stream.php +6 -19 trunk3.6.0 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2 /**
3 - * Plugin Name: Stream - Activity Log & Audit Trail
3 + * Plugin Name: Stream
4 4 * Plugin URI: https://xwp.co/work/stream/
5 - * Description: Stream is an activity log and audit trail for WordPress — track every change made on your 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: 4.4.0
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.6.0
7 7 * Author: XWP
8 8 * Author URI: https://xwp.co
9 9 * License: GPLv2+
10 10 * Text Domain: stream
@@ -30,22 +30,10 @@
30 30 * along with this program; if not, write to the Free Software
31 31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 32 */
33 33
34 -/**
35 - * Configuration Constants
36 - */
37 -if ( ! defined( 'ABSPATH' ) ) {
38 - exit;
39 -}
40 -
41 -if ( ! defined( 'WP_STREAM_SETTINGS_CAPABILITY' ) ) {
42 - define( 'WP_STREAM_SETTINGS_CAPABILITY', 'manage_options' );
43 -}
44 -
45 -const WP_STREAM_MIN_PHP_VERSION = '7.2';
46 -
47 -if ( version_compare( PHP_VERSION, WP_STREAM_MIN_PHP_VERSION, '<' ) ) {
34 +if ( ! version_compare( PHP_VERSION, '5.3', '>=' ) ) {
35 + load_plugin_textdomain( 'stream', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
48 36 add_action( 'shutdown', 'wp_stream_fail_php_version' );
49 37 } else {
50 38 require __DIR__ . '/classes/class-plugin.php';
51 39 $plugin_class_name = 'WP_Stream\Plugin';
@@ -61,10 +49,9 @@
61 49 */
62 50 function wp_stream_fail_php_version() {
63 51 load_plugin_textdomain( 'stream', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
64 52
65 - /* translators: %s is the minimum PHP version. */
66 - $message = sprintf( __( 'Stream requires PHP version %s or newer. Plugin is currently NOT ACTIVE.', 'stream' ), WP_STREAM_MIN_PHP_VERSION );
53 + $message = esc_html__( 'Stream requires PHP version 5.3+, plugin is currently NOT ACTIVE.', 'stream' );
67 54 $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
68 55
69 56 echo wp_kses_post( $html_message );
70 57 }