Broken Link Checker - Version 0.5.16

Version Description

  • Also try the upload directory when looking for places where to put the lockfile.
Download this release

Release Info

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

Code changes from version 0.5.15 to 0.5.16

Files changed (3) hide show
  1. broken-link-checker.php +1 -1
  2. core.php +9 -3
  3. readme.txt +7 -1
broken-link-checker.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Broken Link Checker
5
  Plugin URI: http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
6
  Description: Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.
7
- Version: 0.5.15
8
  Author: Janis Elsts
9
  Author URI: http://w-shadow.com/blog/
10
  */
4
  Plugin Name: Broken Link Checker
5
  Plugin URI: http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
6
  Description: Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.
7
+ Version: 0.5.16
8
  Author: Janis Elsts
9
  Author URI: http://w-shadow.com/blog/
10
  */
core.php CHANGED
@@ -2219,10 +2219,16 @@ jQuery(function($){
2219
  $path = sys_get_temp_dir();
2220
  if ( $path && is_writable($path)){
2221
  return trailingslashit($path) . 'wp_blc_lock';
2222
- } else {
2223
- //Fail.
2224
- return false;
2225
  }
 
 
 
 
 
 
 
 
 
2226
  }
2227
  }
2228
 
2219
  $path = sys_get_temp_dir();
2220
  if ( $path && is_writable($path)){
2221
  return trailingslashit($path) . 'wp_blc_lock';
 
 
 
2222
  }
2223
+
2224
+ //Finally, try the upload directory
2225
+ $path = ini_get('upload_tmp_dir');
2226
+ if ( $path && is_writable($path)){
2227
+ return trailingslashit($path) . 'wp_blc_lock';
2228
+ }
2229
+
2230
+ //Fail
2231
+ return false;
2232
  }
2233
  }
2234
 
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.15
7
 
8
  This plugin will check your posts, custom fields and the blogroll for broken links and missing images and notify you if any are found.
9
 
@@ -60,6 +60,12 @@ To upgrade your installation
60
 
61
  *This is an automatically generated changelog*
62
 
 
 
 
 
 
 
63
  = 0.5.14 =
64
  * Made the timeout value used when checking links user-configurable.
65
  * The plugin will now report an error instead of failing silently when it can't create the necessary database tables.
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.16
7
 
8
  This plugin will check your posts, custom fields and the blogroll for broken links and missing images and notify you if any are found.
9
 
60
 
61
  *This is an automatically generated changelog*
62
 
63
+ = 0.5.16 =
64
+ * Also try the upload directory when looking for places where to put the lockfile.
65
+
66
+ = 0.5.15 =
67
+ * Editing links with relative URLs via the plugin's interface should now work properly. Previously the plugin would just fail silently and behave as if the link was edited, even if it wasn't.
68
+
69
  = 0.5.14 =
70
  * Made the timeout value used when checking links user-configurable.
71
  * The plugin will now report an error instead of failing silently when it can't create the necessary database tables.