Search Everything - Version 8.1.3

Version Description

  • Support for multitag search
Download this release

Release Info

Developer ddksr
Plugin Icon wp plugin Search Everything
Version 8.1.3
Comparing to
See all releases

Code changes from version 8.1.2 to 8.1.3

Files changed (5) hide show
  1. config.php +7 -0
  2. readme.txt +7 -4
  3. screenshot-2.png +0 -0
  4. screenshot-3.png +0 -0
  5. search-everything.php +5 -5
config.php CHANGED
@@ -109,6 +109,13 @@ function se_upgrade() {
109
  }
110
  }
111
 
 
 
 
 
 
 
 
112
  function se_migrate_8_1_1() {
113
  $se_meta = get_option('se_meta', false);
114
  $se_meta['version'] = '8.1.2';
109
  }
110
  }
111
 
112
+ function se_migrate_8_1_2() {
113
+ $se_meta = get_option('se_meta', false);
114
+ $se_meta['version'] = '8.1.3';
115
+ update_option('se_meta', $se_meta);
116
+ }
117
+
118
+
119
  function se_migrate_8_1_1() {
120
  $se_meta = get_option('se_meta', false);
121
  $se_meta['version'] = '8.1.2';
readme.txt CHANGED
@@ -2,14 +2,13 @@
2
  Contributors: zemanta
3
  Tags: search, search highlight, tag search, category search, category exclusion, comment search, page search, admin, seo, post filter, research
4
  Requires at least: 3.6
5
- Tested up to: 4.0
6
- Stable tag: 8.1.2
7
 
8
  Search Everything increases WordPress' default search functionality in three easy steps.
9
 
10
 
11
  == Update ==
12
-
13
  From Jan 24, 2014 Search Everything originaly developed by dancameron, sproutventure will be maintained and developed further by Zemanta.
14
 
15
  == Description ==
@@ -55,7 +54,7 @@ Installation Instructions:
55
 
56
  == Terms of Service ==
57
 
58
- The plugin source code is released under GPLv2. Usage of plugin is governed by [Zemanta Terms of Service](http://www.zemanta.com/legal/terms-of-service/) and [Zemanta Privacy Policy](http://www.zemanta.com/legal/privacy/).
59
 
60
 
61
  == Frequently Asked Questions ==
@@ -103,6 +102,7 @@ Note: We changed some labels in settings, old translations might not work and ne
103
  * Taiwan / Chinese
104
 
105
  = What about Terms of Service and Privacy policy? =
 
106
  Before using the plugin please read the full version of [Zemanta Terms of Service](http://www.zemanta.com/legal/terms-of-service/) and [Zemanta Privacy Policy](http://www.zemanta.com/legal/privacy/).
107
 
108
 
@@ -115,6 +115,9 @@ Before using the plugin please read the full version of [Zemanta Terms of Servic
115
 
116
  == Changelog ==
117
 
 
 
 
118
  = 8.1.2 =
119
  * CSS bugfix
120
 
2
  Contributors: zemanta
3
  Tags: search, search highlight, tag search, category search, category exclusion, comment search, page search, admin, seo, post filter, research
4
  Requires at least: 3.6
5
+ Tested up to: 4.3
6
+ Stable tag: 8.1.3
7
 
8
  Search Everything increases WordPress' default search functionality in three easy steps.
9
 
10
 
11
  == Update ==
 
12
  From Jan 24, 2014 Search Everything originaly developed by dancameron, sproutventure will be maintained and developed further by Zemanta.
13
 
14
  == Description ==
54
 
55
  == Terms of Service ==
56
 
57
+ The plugin source code is released under GPLv2. Usage of our service is governed by [Zemanta Terms of Service](http://www.zemanta.com/legal/terms-of-service/) and [Zemanta Privacy Policy](http://www.zemanta.com/legal/privacy/).
58
 
59
 
60
  == Frequently Asked Questions ==
102
  * Taiwan / Chinese
103
 
104
  = What about Terms of Service and Privacy policy? =
105
+
106
  Before using the plugin please read the full version of [Zemanta Terms of Service](http://www.zemanta.com/legal/terms-of-service/) and [Zemanta Privacy Policy](http://www.zemanta.com/legal/privacy/).
107
 
108
 
115
 
116
  == Changelog ==
117
 
118
+ = 8.1.3 =
119
+ * Support for multitag search
120
+
121
  = 8.1.2 =
122
  * CSS bugfix
123
 
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
search-everything.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Search Everything
4
  Plugin URI: http://wordpress.org/plugins/search-everything/
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: 8.1.2
7
  Author: Zemanta
8
  Author URI: http://www.zemanta.com
9
  */
10
 
11
- define('SE_VERSION', '8.1.2');
12
 
13
  if (!defined('SE_PLUGIN_FILE'))
14
  define('SE_PLUGIN_FILE', plugin_basename(__FILE__));
@@ -608,7 +608,7 @@ class SearchEverything {
608
  if ( $this->wp_ver23 ) {
609
  $search .= "{$searchand}(tter.name LIKE '{$n}{$term}{$n}')";
610
  }
611
- $searchand = ' AND ';
612
  }
613
  $sentence_term = esc_sql( $s );
614
  if ( count( $search_terms ) > 1 && $search_terms[0] != $sentence_term ) {
@@ -700,10 +700,10 @@ class SearchEverything {
700
  }
701
  $excl_list = implode( ',', $excluded_cat_list);
702
  if ( $this->wp_ver23 ) {
703
- $excludeQuery = " AND ( ctax.term_id NOT IN ( ".$excl_list." ))";
704
  }
705
  else {
706
- $excludeQuery = ' AND (c.category_id NOT IN ( '.$excl_list.' ))';
707
  }
708
  }
709
  $this->se_log( "ex category where: ".$excludeQuery );
3
  Plugin Name: Search Everything
4
  Plugin URI: http://wordpress.org/plugins/search-everything/
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: 8.1.3
7
  Author: Zemanta
8
  Author URI: http://www.zemanta.com
9
  */
10
 
11
+ define('SE_VERSION', '8.1.3');
12
 
13
  if (!defined('SE_PLUGIN_FILE'))
14
  define('SE_PLUGIN_FILE', plugin_basename(__FILE__));
608
  if ( $this->wp_ver23 ) {
609
  $search .= "{$searchand}(tter.name LIKE '{$n}{$term}{$n}')";
610
  }
611
+ $searchand = ' OR ';
612
  }
613
  $sentence_term = esc_sql( $s );
614
  if ( count( $search_terms ) > 1 && $search_terms[0] != $sentence_term ) {
700
  }
701
  $excl_list = implode( ',', $excluded_cat_list);
702
  if ( $this->wp_ver23 ) {
703
+ $excludeQuery = " AND ( ctax.term_id NOT IN ( ".$excl_list." ) OR (wp_posts.post_type IN ( 'page' )))";
704
  }
705
  else {
706
+ $excludeQuery = ' AND (c.category_id NOT IN ( '.$excl_list.' ) OR (wp_posts.post_type IN ( \'page\' )))';
707
  }
708
  }
709
  $this->se_log( "ex category where: ".$excludeQuery );