Broken Link Checker - Version 0.2.2

Version Description

Download this release

Release Info

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

Code changes from version 0.2 to 0.2.2

Files changed (2) hide show
  1. broken-link-checker.php +3 -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://wordpress.org/extend/plugins/broken-link-checker/
5
  Description: Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.
6
- Version: 0.2
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
  */
@@ -265,7 +265,7 @@ class ws_broken_link_checker {
265
 
266
  function broken_links_page(){
267
  global $wpdb;
268
- $sql="SELECT count(*) FROM $this->linkdata_name WHERE broken=1 AND hidden=0";
269
  $broken_links=$wpdb->get_var($sql);
270
 
271
  ?>
@@ -276,7 +276,7 @@ class ws_broken_link_checker {
276
  <br style="clear:both;" />
277
  <?php
278
  $sql="SELECT b.post_title, a.* FROM $this->linkdata_name a, $wpdb->posts b
279
- WHERE a.post_id=b.id AND a.broken=1 AND a.hidden=0 ORDER BY a.last_check DESC";
280
  $links=$wpdb->get_results($sql, OBJECT);
281
  if($links && (count($links)>0)){
282
  ?>
3
  Plugin Name: Broken Link Checker
4
  Plugin URI: http://wordpress.org/extend/plugins/broken-link-checker/
5
  Description: Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.
6
+ Version: 0.2.2
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
  */
265
 
266
  function broken_links_page(){
267
  global $wpdb;
268
+ $sql="SELECT count(*) FROM $this->linkdata_name WHERE broken=1";
269
  $broken_links=$wpdb->get_var($sql);
270
 
271
  ?>
276
  <br style="clear:both;" />
277
  <?php
278
  $sql="SELECT b.post_title, a.* FROM $this->linkdata_name a, $wpdb->posts b
279
+ WHERE a.post_id=b.id AND a.broken=1 ORDER BY a.last_check DESC";
280
  $links=$wpdb->get_results($sql, OBJECT);
281
  if($links && (count($links)>0)){
282
  ?>
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.3
6
- Stable tag: 0.2
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.3
6
+ Stable tag: 0.2.2
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