Search Everything - Version 4.2.3

Version Description

Download this release

Release Info

Developer dancameron
Plugin Icon wp plugin Search Everything
Version 4.2.3
Comparing to
See all releases

Code changes from version 4.2.2 to 4.2.3

Files changed (2) hide show
  1. SE-Admin.php +4 -1
  2. search_everything.php +3 -2
SE-Admin.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  Class SearchEverythingAdmin {
4
 
5
- var $version = '4.2.2';
6
 
7
  function SearchEverythingAdmin() {
8
 
@@ -140,7 +140,10 @@ If ($wp_version >= '2.3') { ?>
140
  <li><a href="http://blog.saddey.net/">Saddy</a></li>
141
  <li><a href="http://www.reaper-x.com/">Reaper</a></li>
142
  <li><a href="http://beyn.org/">Barış Ünver</a> (localization support)</li>
 
 
143
  <li>Uli Iserloh</li>
 
144
  </ul>
145
  <p>If you&#8217;d like to contribute there&#8217;s a lot to do:</p>
146
  <ul class="SE_lists">
2
 
3
  Class SearchEverythingAdmin {
4
 
5
+ var $version = '4.2.3';
6
 
7
  function SearchEverythingAdmin() {
8
 
140
  <li><a href="http://blog.saddey.net/">Saddy</a></li>
141
  <li><a href="http://www.reaper-x.com/">Reaper</a></li>
142
  <li><a href="http://beyn.org/">Barış Ünver</a> (localization support)</li>
143
+ <li><a href="http://www.alohastone.com">alohastone</a> (localization support)</li>
144
+ <li><a href="http://www.fratelliditalia.eu">Domiziano Galia</a></li>
145
  <li>Uli Iserloh</li>
146
+
147
  </ul>
148
  <p>If you&#8217;d like to contribute there&#8217;s a lot to do:</p>
149
  <ul class="SE_lists">
search_everything.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Search Everything
4
  Plugin URI: http://dancameron.org/wordpress/
5
  Description: Adds search functionality with little setup. Including options to search pages, excerpts, attachments, drafts, comments, tags and custom fields (metadata). Also offers the ability to exclude specific pages and posts. Does not search password-protected content.
6
- Version: 4.2.2
7
  Author: Dan Cameron
8
  Author URI: http://dancameron.org/
9
  */
@@ -223,7 +223,8 @@ Class SearchEverything {
223
  function SE4_search_tags($where) {
224
  global $wp_query, $wpdb;
225
  if (!empty($wp_query->query_vars['s'])) {
226
- $where .= " OR ( tter.slug LIKE '%" . $wpdb->escape($wp_query->query_vars['s']) . "%') ";
 
227
  }
228
 
229
  $this->SE4_log("tags where: ".$where);
3
  Plugin Name: Search Everything
4
  Plugin URI: http://dancameron.org/wordpress/
5
  Description: Adds search functionality with little setup. Including options to search pages, excerpts, attachments, drafts, comments, tags and custom fields (metadata). Also offers the ability to exclude specific pages and posts. Does not search password-protected content.
6
+ Version: 4.2.3
7
  Author: Dan Cameron
8
  Author URI: http://dancameron.org/
9
  */
223
  function SE4_search_tags($where) {
224
  global $wp_query, $wpdb;
225
  if (!empty($wp_query->query_vars['s'])) {
226
+ //$where .= " OR ( tter.slug LIKE '%" . $wpdb->escape($wp_query->query_vars['s']) . "%') ";
227
+ $where .= " OR ( tter.slug LIKE '%" . str_replace(' ', '-',$wpdb->escape($wp_query->query_vars['s'])) . "%') ";
228
  }
229
 
230
  $this->SE4_log("tags where: ".$where);