protected static function isModifiedHash($url, $path)
    {
        if (self::isExternalUrl($url)) {
            if (sha1_file($url) !== sha1_file($path)) {
                return self::$changes = true;
            }
        }

        return false;
    }
protected static function isModifiedHash($url, $path)
    {
        if (self::isExternalUrl($url)) {
            if (sha1_file($url) !== sha1_file($path)) {
                return self::$changes = true;
            }
        }

        return false;
    }
protected static function isModifiedHash ( $ url , $ path ) { if ( self :: isExternalUrl ( $ url ) ) { if ( sha1_file ( $ url ) !== sha1_file ( $ path ) ) { return self :: $ changes = true ; } } return false ; }
Check if it matches the file hash.

@since 1.1.5

@param string $url  → external url
@param string $path → internal file path

@return bool
Check if it matches the file hash .