Link Library - Version 5.8.0.5

Version Description

  • Fixed link moderation page to show links submitted by bots with no category
Download this release

Release Info

Developer jackdewey
Plugin Icon 128x128 Link Library
Version 5.8.0.5
Comparing to
See all releases

Code changes from version 5.8.0.4 to 5.8.0.5

Files changed (3) hide show
  1. link-library-admin.php +6 -7
  2. link-library.php +1 -1
  3. readme.txt +3 -0
link-library-admin.php CHANGED
@@ -1689,13 +1689,12 @@ class link_library_plugin_admin {
1689
  <?php global $wpdb;
1690
 
1691
  $linkquery = "SELECT distinct *, l.link_id as true_link_id ";
1692
- $linkquery .= "FROM " . $this->db_prefix() . "terms t ";
1693
- $linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id) ";
1694
- $linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
1695
- $linkquery .= "LEFT JOIN " . $this->db_prefix() . "links l ON (tr.object_id = l.link_id) ";
1696
- $linkquery .= "LEFT JOIN " . $this->db_prefix() . "links_extrainfo le ON (l.link_id = le.link_id) ";
1697
- $linkquery .= "WHERE tt.taxonomy = 'link_category'";
1698
- $linkquery .= "AND l.link_description like '%LinkLibrary:AwaitingModeration:RemoveTextToApprove%' ";
1699
  $linkquery .= " ORDER by link_name ASC";
1700
 
1701
  if ( $genoptions['debugmode'] ) {
1689
  <?php global $wpdb;
1690
 
1691
  $linkquery = "SELECT distinct *, l.link_id as true_link_id ";
1692
+ $linkquery .= "FROM " . $this->db_prefix() . "links_extrainfo le ";
1693
+ $linkquery .= "LEFT JOIN " . $this->db_prefix() . "links l ON (le.link_id = l.link_id) ";
1694
+ $linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (l.link_id = tr.object_id) ";
1695
+ $linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
1696
+ $linkquery .= "LEFT JOIN " . $this->db_prefix() . "terms t ON (t.term_id = tt.term_id) ";
1697
+ $linkquery .= "WHERE l.link_description like '%LinkLibrary:AwaitingModeration:RemoveTextToApprove%' ";
 
1698
  $linkquery .= " ORDER by link_name ASC";
1699
 
1700
  if ( $genoptions['debugmode'] ) {
link-library.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
- Version: 5.8.0.4
7
  Author: Yannick Lefebvre
8
  Author URI: http://yannickcorner.nayanna.biz/
9
 
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
+ Version: 5.8.0.5
7
  Author: Yannick Lefebvre
8
  Author URI: http://yannickcorner.nayanna.biz/
9
 
readme.txt CHANGED
@@ -59,6 +59,9 @@ Further configuration is available under the Link Library Settings panel.
59
 
60
  == Changelog ==
61
 
 
 
 
62
  = 5.8.0.4 =
63
  * Added option to display link name or description in link title tag
64
 
59
 
60
  == Changelog ==
61
 
62
+ = 5.8.0.5 =
63
+ * Fixed link moderation page to show links submitted by bots with no category
64
+
65
  = 5.8.0.4 =
66
  * Added option to display link name or description in link title tag
67