• Resolved Aaron T. Grogg

    (@aarontgrogg)


    Are you planning to upgrade the plugin to support PHP 7.x?

    In a recent automated test, the following warning was returned:

    FILE: /homepages/.../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
    -----------------------------------------------------------------------------------------------------------------

    Upgrading would mean having to lose this plugin and I would hate to have to do that.

    Thanks a lot,
    Atg

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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;
    }
    Thread Starter Aaron T. Grogg

    (@aarontgrogg)

    Excellent, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrade to support PHP 7.x’ is closed to new replies.