Skip to content

Commit ee01ad4

Browse files
Bill Van PeltBill Van Pelt
authored andcommitted
Fixing compare.
1 parent 7a2da94 commit ee01ad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/inc/api/class-mcrypt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static function upgrade_mcrypt_option( $encrypted_string ) {
8484
* @return string
8585
*/
8686
public static function mcrypt_decrypt( $encrypted_string ) {
87-
if ( version_compare( phpversion(), '7.2', '<' ) ) {
87+
if ( version_compare( phpversion(), '7.1', '>' ) ) {
8888
return new \WP_Error( 'php_version', __( 'PHP version is to low to support mcrypt_decrypt. This function has been DEPRECATED as of PHP 7.1.0 and REMOVED as of PHP 7.2.0. Relying on this function is highly discouraged.', 'wpop' ) );
8989
}
9090

0 commit comments

Comments
 (0)