phpcompat icon indicating copy to clipboard operation
phpcompat copied to clipboard

False Positive: Broken Link plugin

Open aarontgrogg opened this issue 7 years ago • 0 comments

Produces the following warning message for Broken Link plugin: FILE: /homepages/34/d641728117/htdocs/neueseite/wp-content/plugins/broken-link-checker/includes/utility-class.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 42 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4 -----------------------------------------------------------------------------------------------------------------

Per WordPress Support Forum: https://wordpress.org/support/topic/upgrade-to-support-php-7-x/

It is a false alarm. See code:

static function is_safe_mode() { // Check php.ini safe_mode only if PHP version is lower than 5.3.0, else set to false. if ( version_compare( phpversion(), '5.3.0', '<' ) ) { $safe_mode = ini_get( 'safe_mode' ); } else { $safe_mode = false; }

aarontgrogg avatar Jan 09 '18 12:01 aarontgrogg