Plugin Directory

Changeset 1469616


Ignore:
Timestamp:
08/07/2016 05:22:42 PM (10 years ago)
Author:
seedplugins
Message:

Uptate to 1.0.3 solving HTTPS issues and hosting conflicts.

Location:
wp-link-status/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-link-status/trunk/core/curl.php

    r1348337 r1469616  
    7474        }
    7575       
     76        // IP resolve options
     77        if (!isset($setopts['CURLOPT_IPRESOLVE']) && defined('CURL_IPRESOLVE_V4'))
     78            $setopts['CURLOPT_IPRESOLVE'] = CURL_IPRESOLVE_V4;
     79       
     80        // HTTPS checks
     81        if (!empty($setopts['CURLOPT_URL']) && 0 === strpos($setopts['CURLOPT_URL'], 'https')) {
     82            if (!isset($setopts['CURLOPT_IPRESOLVE']))
     83                $setopts['CURLOPT_SSL_VERIFYHOST'] = false;
     84            if (!isset($setopts['CURLOPT_SSL_VERIFYPEER']))
     85                $setopts['CURLOPT_SSL_VERIFYPEER'] = false;
     86        }
     87       
    7688        // Apply options
    7789        foreach ($setopts as $name => $value) {
  • wp-link-status/trunk/core/nonce/nonce.php

    r1348337 r1469616  
    146146            return false;
    147147        $result = @file_put_contents($path, "<?php /* Generated by WP Link Status: PLEASE DO NOT REMOVE OR MODIFY THIS FILE */"."\n"."define('WPLNST_SALT', '".self::generate_password(64, false, false)."');");
    148         @chmod($path, 0664);
     148        @chmod($path, 0644);
    149149        return (false !== $result && @file_exists($path) && @is_readable($path));
    150150    }
  • wp-link-status/trunk/core/requests/http.php

    r1348337 r1469616  
    109109            'CURLOPT_WRITEFUNCTION'     => 'wplnst_http_read_stream',
    110110        );
    111        
    112         // IP resolve options
    113         if (defined('CURL_IPRESOLVE_V4'))
    114             $curlopts['CURLOPT_IPRESOLVE'] = CURL_IPRESOLVE_V4;
    115 
    116         // HTTPS checks
    117         if (0 === strpos($url, 'https')) {
    118             $curlopts['CURLOPT_SSL_VERIFYHOST'] = false;
    119             $curlopts['CURLOPT_SSL_VERIFYPEER'] = false;
    120         }
    121111       
    122112        // Do the request
  • wp-link-status/trunk/readme.txt

    r1428137 r1469616  
    33Tags: broken links, broken, links, crawler, headers, http, nofollow, redirections, scan, status, checker, url
    44Requires at least: 3.4
    5 Tested up to: 4.5.2
    6 Stable tag: 1.0.2
     5Tested up to: 4.5.3
     6Stable tag: 1.0.3
    77License: GPLv2 or later
    88
     
    5656In the same way, if the site you are crawling implements browser password protection, you need to remove this password restriction in order to work properly.
    5757
     58= I have activated this plugin from a multisite but seems that it does not work.
     59
     60Currently there is no support for network activation in multisite installs. The plugin needs to be activated locally for each single blog of your multisite. Otherwise, it is advisable to run only one scan at the same time per each blog or web server.
     61
    5862= This plugin works for ACF or Advanced Custom Fields as well? =
    5963
     
    7377
    7478== Changelog ==
     79
     80= 1.0.3 =
     81August 7th, 2016
     82
     83* Changed permissions for generated files to avoid hosting conflicts like Hostgator.
     84* Fixed crawling process issues when running on HTTPS sites with or without valid certificate.
    7585
    7686= 1.0.2 =
  • wp-link-status/trunk/wp-link-status.php

    r1428137 r1469616  
    44Plugin URI: http://seedplugins.com/wp-link-status/
    55Description: Check and manage HTTP response codes of all your content site links and images.
    6 Version: 1.0.2
     6Version: 1.0.3
    77Author: Pau Iglesias, SeedPlugins
    88License: GPLv2 or later
     
    2121define('WPLNST_FILE', __FILE__);
    2222define('WPLNST_PATH', dirname(WPLNST_FILE));
    23 define('WPLNST_VERSION', '1.0.2');
     23define('WPLNST_VERSION', '1.0.3');
    2424
    2525// Check scan crawling action
Note: See TracChangeset for help on using the changeset viewer.