Ultimate Tag Cloud Widget - Version 2.3-beta4

Version Description

= 2.3 =

  • New features, see plugin page at wordpress.org for full details. Watch out for the changes in class names: https://github.com/rickard2/utcw/issues/29

= 2.2.3 =

  • Fixed naming collision issue with other plugins

= 2.2.2 =

  • Fixed widget initialization issue

= 2.2.1 =

  • Fixes compatibility issue with PHP 5.2

= 2.2 =

  • New features, see the plugin page at wordpress.org for full details

= 2.1 =

  • New features, see the plugin page at wordpress.org for full details

= 2.0.1 =

  • Small bug fix in the widget options panel

= 2.0 =

  • New plugin architecture and a big rewrite of the plugin foundation. Watch out for breaking changes, please see http://exz.nu/utcwbreaking for more information.
Download this release

Release Info

Developer exz
Plugin Icon wp plugin Ultimate Tag Cloud Widget
Version 2.3-beta4
Comparing to
See all releases

Code changes from version 2.3-beta3 to 2.3-beta4

Files changed (1) hide show
  1. src/Database/QueryBuilder.php +3 -3
src/Database/QueryBuilder.php CHANGED
@@ -141,9 +141,9 @@ class UTCW_QueryBuilder
141
  $this->parameters[] = $post_term;
142
  }
143
 
144
- $this->query[] = 'AND p.ID IN (SELECT _p.ID FROM wp_posts _p';
145
- $this->query[] = 'JOIN wp_term_relationships AS _tr ON _tr.object_id = _p.ID';
146
- $this->query[] = 'JOIN wp_term_taxonomy AS _tt ON _tt.term_taxonomy_id = _tr.term_taxonomy_id';
147
  $this->query[] = 'WHERE _tt.term_id IN (' . join(',', $post_term_parameters) . '))';
148
  }
149
  }
141
  $this->parameters[] = $post_term;
142
  }
143
 
144
+ $this->query[] = 'AND p.ID IN (SELECT _p.ID FROM `' . $this->db->posts . '` _p';
145
+ $this->query[] = 'JOIN `' . $this->db->term_relationships . '` AS _tr ON _tr.object_id = _p.ID';
146
+ $this->query[] = 'JOIN `' . $this->db->term_taxonomy . '` AS _tt ON _tt.term_taxonomy_id = _tr.term_taxonomy_id';
147
  $this->query[] = 'WHERE _tt.term_id IN (' . join(',', $post_term_parameters) . '))';
148
  }
149
  }