Version Description
Download this release
Release Info
Developer | whiteshadow |
Plugin | Broken Link Checker |
Version | 0.5.8.1 |
Comparing to | |
See all releases |
Code changes from version 0.5.8 to 0.5.8.1
- broken-link-checker.php +1 -1
- link-classes.php +17 -0
- readme.txt +1 -1
broken-link-checker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Broken Link Checker
|
4 |
Plugin URI: http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
|
5 |
Description: Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.
|
6 |
-
Version: 0.5.8
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
9 |
*/
|
3 |
Plugin Name: Broken Link Checker
|
4 |
Plugin URI: http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
|
5 |
Description: Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.
|
6 |
+
Version: 0.5.8.1
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
9 |
*/
|
link-classes.php
CHANGED
@@ -158,6 +158,23 @@ class blcLink {
|
|
158 |
|
159 |
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);
|
160 |
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
curl_setopt($ch, CURLOPT_FAILONERROR, false);
|
163 |
|
158 |
|
159 |
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);
|
160 |
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
161 |
+
|
162 |
+
if (defined('WP_PROXY_HOST')) {
|
163 |
+
curl_setopt($ch, CURLOPT_PROXY, WP_PROXY_HOST);
|
164 |
+
}
|
165 |
+
|
166 |
+
if (defined('WP_PROXY_PORT')) {
|
167 |
+
curl_setopt($ch, CURLOPT_PROXYPORT, WP_PROXY_PORT);
|
168 |
+
}
|
169 |
+
|
170 |
+
if (defined('WP_PROXY_USERNAME')){
|
171 |
+
$auth = WP_PROXY_USERNAME;
|
172 |
+
if (defined('WP_PROXY_PASSWORD')){
|
173 |
+
$auth .= ':' . WP_PROXY_PASSWORD;
|
174 |
+
}
|
175 |
+
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $auth);
|
176 |
+
}
|
177 |
+
|
178 |
|
179 |
curl_setopt($ch, CURLOPT_FAILONERROR, false);
|
180 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: whiteshadow
|
|
3 |
Tags: links, broken, maintenance, blogroll, custom fields, admin
|
4 |
Requires at least: 2.7.0
|
5 |
Tested up to: 2.9
|
6 |
-
Stable tag: 0.5.8
|
7 |
|
8 |
This plugin will check your posts, custom fields and the blogroll for broken links and missing images and notify you on the dashboard if any are found.
|
9 |
|
3 |
Tags: links, broken, maintenance, blogroll, custom fields, admin
|
4 |
Requires at least: 2.7.0
|
5 |
Tested up to: 2.9
|
6 |
+
Stable tag: 0.5.8.1
|
7 |
|
8 |
This plugin will check your posts, custom fields and the blogroll for broken links and missing images and notify you on the dashboard if any are found.
|
9 |
|