Skip to content

Commit cdd39a8

Browse files
author
Kaspars Dambis
authored
Merge pull request #1212 from szepeviktor/patch-1
Improve PHP version checking
2 parents 0f5b5f0 + 307153e commit cdd39a8

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)