Skip to content

Commit 307153e

Browse files
authored
Improve PHP version checking
1 parent 579d5e0 commit 307153e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3232
*/
3333

34-
if ( ! version_compare( PHP_VERSION, '5.3', '>=' ) ) {
34+
if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {
3535
load_plugin_textdomain( 'stream', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
3636
add_action( 'shutdown', 'wp_stream_fail_php_version' );
3737
} else {

0 commit comments

Comments
 (0)