From 307153e5fe6597f8ec0983b3e858477a6743d2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 29 Dec 2020 06:47:00 +0100 Subject: [PATCH] Improve PHP version checking --- stream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.php b/stream.php index f4f9d124d..8eae252d5 100644 --- a/stream.php +++ b/stream.php @@ -31,7 +31,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -if ( ! version_compare( PHP_VERSION, '5.3', '>=' ) ) { +if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { load_plugin_textdomain( 'stream', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); add_action( 'shutdown', 'wp_stream_fail_php_version' ); } else {