False positive for UpStream
-
Hi,
We had a report from an UpStream client about the warning, which is actually a false-positive. Please, could you add this to the whitelist?
This is the report:
FILE: /plugins/upstream/includes/libraries/password_compat-1.0.4/lib/password.php
——————————————————————————————————-
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
——————————————————————————————————-
105 | WARNING | Function mcrypt_create_iv() is deprecated since PHP 7.1; use OpenSSL instead
105 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1 – use openssl (preferred) or pecl/mcrypt once available instead.
———————————————————————————————————————————UpStream only uses that library for backward compatibility with PHP 5.5.
We do not advise PHP 5.5 or below, but we will only be able to drop support for it in the future.Here is the conditional, where the reported file is actually loaded:
if ( version_compare( PHP_VERSION, '5.5', '<' ) ) { require_once UPSTREAM_PLUGIN_DIR . 'includes/libraries/password_compat-1.0.4/lib/password.php'; }Thank you
The topic ‘False positive for UpStream’ is closed to new replies.