SearchWP Live Ajax Search - Version 1.0.6

Version Description

  • PHP Warning cleanup
Download this release

Release Info

Developer jchristopher
Plugin Icon 128x128 SearchWP Live Ajax Search
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

includes/class-relevanssi-bridge.php CHANGED
@@ -6,13 +6,12 @@
6
  class SearchWP_Live_Search_Relevanssi_Bridge {
7
 
8
  function __construct() {
9
- add_action( 'searchwp_live_search_alter_results', array( 'SearchWP_Live_Search_Relevanssi_Bridge', 'alter_results' ), 10, 3 );
10
  }
11
 
12
- static function alter_results( $wpQueryResults, $maxResults, $results ) {
13
  global $wp_query;
14
  relevanssi_do_query( $wp_query );
15
- $results->relevanssi = true;
16
  }
17
 
18
  }
6
  class SearchWP_Live_Search_Relevanssi_Bridge {
7
 
8
  function __construct() {
9
+ add_action( 'searchwp_live_search_alter_results', array( 'SearchWP_Live_Search_Relevanssi_Bridge', 'alter_results' ) );
10
  }
11
 
12
+ static function alter_results() {
13
  global $wp_query;
14
  relevanssi_do_query( $wp_query );
 
15
  }
16
 
17
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: jchristopher
3
  Tags: search, live, ajax
4
  Requires at least: 3.9
5
  Tested up to: 3.9.1
6
- Stable tag: 1.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -76,6 +76,9 @@ SearchWP Live Ajax Search uses a filter — <a href="https://searchwp.com/docs/
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 1.0.5 =
80
  * New action: `searchwp_live_search_alter_results`
81
  * Adds Relevanssi support (based on Dave's WordPress Live Search's implementation)
3
  Tags: search, live, ajax
4
  Requires at least: 3.9
5
  Tested up to: 3.9.1
6
+ Stable tag: 1.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
76
 
77
  == Changelog ==
78
 
79
+ = 1.0.6 =
80
+ * PHP Warning cleanup
81
+
82
  = 1.0.5 =
83
  * New action: `searchwp_live_search_alter_results`
84
  * Adds Relevanssi support (based on Dave's WordPress Live Search's implementation)
searchwp-live-ajax-search.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SearchWP Live Ajax Search
4
  Plugin URI: https://searchwp.com/
5
  Description: Enhance your search forms with live search, powered by SearchWP (if installed)
6
- Version: 1.0.5
7
  Author: Jonathan Christopher
8
  Author URI: https://searchwp.com/
9
 
@@ -40,7 +40,7 @@ class SearchWP_Live_Search {
40
 
41
  public $dir;
42
  public $url;
43
- public $version = '1.0.5';
44
 
45
  function __construct() {
46
  $this->dir = dirname( __FILE__ );
3
  Plugin Name: SearchWP Live Ajax Search
4
  Plugin URI: https://searchwp.com/
5
  Description: Enhance your search forms with live search, powered by SearchWP (if installed)
6
+ Version: 1.0.6
7
  Author: Jonathan Christopher
8
  Author URI: https://searchwp.com/
9
 
40
 
41
  public $dir;
42
  public $url;
43
+ public $version = '1.0.6';
44
 
45
  function __construct() {
46
  $this->dir = dirname( __FILE__ );