Is it compatible with PHP 7.2?
-
Ran php-compatibility-checker, and it came up with this, and only this error.
############################################################
############################################################
Name: Login Security SolutionFILE: ~/wp-content/plugins/login-security-solution/login-security-solution.php
—————————————————————————————————————
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
—————————————————————————————————————
969 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
1485 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
—————————————————————————————————————
Update Available: 0.56.0; Current Version: 0.48.0;
############################################################
############################################################Sorry, I don’t know how to read PHP, but below is the actual code snippet.
Looks like a pre-check/fallback code. An error that can be ignored? :############################################################
############################################################963 }
964 ###$this->log(__FUNCTION__, $this->sleep);
965
966 if (!defined(‘LOGIN_SECURITY_SOLUTION_TESTING’)) {
967 // Keep login failures from becoming denial of service attacks.
968 if (empty($wpdb->use_mysqli)) {
969 mysql_close($wpdb->dbh);
970 } else {
971 mysqli_close($wpdb->dbh);
972 }
973
974 sleep($this->sleep);
975
976 $wpdb->db_connect();
977 }
978
979 return $this->sleep;
980 }
- The topic ‘Is it compatible with PHP 7.2?’ is closed to new replies.