Broken Link Checker - Version 0.4.14

Version Description

Download this release

Release Info

Developer whiteshadow
Plugin Icon 128x128 Broken Link Checker
Version 0.4.14
Comparing to
See all releases

Code changes from version 0.4.13 to 0.4.14

Files changed (2) hide show
  1. broken-link-checker.php +9 -3
  2. 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.4.13
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
  */
@@ -23,7 +23,7 @@ class ws_broken_link_checker {
23
  var $options_name='wsblc_options';
24
  var $postdata_name;
25
  var $linkdata_name;
26
- var $version='0.4.13';
27
  var $myfile='';
28
  var $myfolder='';
29
  var $mybasename='';
@@ -240,7 +240,13 @@ class ws_broken_link_checker {
240
  $result['log'] .= "URL protocol ($parts[scheme]) is not HTTP. This link won't be checked.\n";
241
  return $result;
242
  }
243
-
 
 
 
 
 
 
244
  //******* Use CURL if available ***********
245
  if (function_exists('curl_init')) {
246
 
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.4.14
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
  */
23
  var $options_name='wsblc_options';
24
  var $postdata_name;
25
  var $linkdata_name;
26
+ var $version='0.4.14';
27
  var $myfile='';
28
  var $myfolder='';
29
  var $mybasename='';
240
  $result['log'] .= "URL protocol ($parts[scheme]) is not HTTP. This link won't be checked.\n";
241
  return $result;
242
  }
243
+
244
+ //Kill the #anchor if it's present
245
+ $anchor_start = strpos($url, '#');
246
+ if ( $anchor_start !== false ){
247
+ $url = substr($url, 0, $anchor_start);
248
+ }
249
+
250
  //******* Use CURL if available ***********
251
  if (function_exists('curl_init')) {
252
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: whiteshadow
3
  Tags: links, broken, maintenance
4
  Requires at least: 2.0.2
5
  Tested up to: 2.7.1
6
- Stable tag: 0.4.13
7
 
8
  This plugin will check your posts for broken links and missing images in background and notify you on the dashboard if any are found.
9
 
3
  Tags: links, broken, maintenance
4
  Requires at least: 2.0.2
5
  Tested up to: 2.7.1
6
+ Stable tag: 0.4.14
7
 
8
  This plugin will check your posts for broken links and missing images in background and notify you on the dashboard if any are found.
9