Search Everything - Version 6.9.1

Version Description

Download this release

Release Info

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

Code changes from version 6.9 to 6.9.1

Files changed (3) hide show
  1. readme.txt +1 -1
  2. search-everything.php +3 -3
  3. views/options.php +1 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/plugin-donations
4
  Tags: search, search highlight, tag search, category search, category exclusion, comment search, page search, admin, seo, post filter
5
  Requires at least: 3
6
  Tested up to: 3.3
7
- Stable tag: 6.9
8
 
9
  Increases Wordpress' default search functionality in three easy steps.
10
 
4
  Tags: search, search highlight, tag search, category search, category exclusion, comment search, page search, admin, seo, post filter
5
  Requires at least: 3
6
  Tested up to: 3.3
7
+ Stable tag: 6.9.1
8
 
9
  Increases Wordpress' default search functionality in three easy steps.
10
 
search-everything.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Search Everything
4
  Plugin URI: https://github.com/sproutventure/search-everything-wordpress-plugin/
5
  Description: Adds search functionality without modifying any template pages: Activate, Configure and Search. Options Include: search highlight, 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: 6.9
7
  Author: Dan Cameron of Sprout Venture
8
  Author URI: http://sproutventure.com/
9
  */
@@ -222,14 +222,14 @@ Class SearchEverything {
222
 
223
  global $wp_query, $wpdb;
224
 
225
- $n = ($wp_query->query_vars['exact']) ? '' : '%';
226
  $search = '';
227
  //$seperator = ' OR ';
228
  $terms = $this->se_get_search_terms();
229
 
230
  // if it's not a sentance add other terms
231
  $search .= '(';
232
- if(!$wp_query->query_vars['sentence'] && count($terms) > 1){
233
  foreach($terms as $term){
234
  $search .= $seperator;
235
 
3
  Plugin Name: Search Everything
4
  Plugin URI: https://github.com/sproutventure/search-everything-wordpress-plugin/
5
  Description: Adds search functionality without modifying any template pages: Activate, Configure and Search. Options Include: search highlight, 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: 6.9.1
7
  Author: Dan Cameron of Sprout Venture
8
  Author URI: http://sproutventure.com/
9
  */
222
 
223
  global $wp_query, $wpdb;
224
 
225
+ $n = (isset($wp_query->query_vars['exact']) && $wp_query->query_vars['exact']) ? '' : '%';
226
  $search = '';
227
  //$seperator = ' OR ';
228
  $terms = $this->se_get_search_terms();
229
 
230
  // if it's not a sentance add other terms
231
  $search .= '(';
232
+ if(!$wp_query->query_vars['sentence']){
233
  foreach($terms as $term){
234
  $search .= $seperator;
235
 
views/options.php CHANGED
@@ -353,7 +353,7 @@ Class se_admin {
353
  </td>
354
  <td>
355
  <ul class="SE_lists">
356
- <li><a href="https://github.com/ninnypants"><strong>EricLe Bail</strong></a></li>
357
  </ul>
358
  </td>
359
  <td>
353
  </td>
354
  <td>
355
  <ul class="SE_lists">
356
+ <li><a href="https://github.com/ninnypants"><strong>Tyrel Kelsey</strong></a></li>
357
  </ul>
358
  </td>
359
  <td>