Changeset 2683712
- Timestamp:
- 02/23/2022 12:16:53 PM (4 years ago)
- Location:
- searchwp-live-ajax-search
- Files:
-
- 6 edited
- 1 copied
-
tags/1.6.2 (copied) (copied from searchwp-live-ajax-search/trunk)
-
tags/1.6.2/includes/class-client.php (modified) (1 diff)
-
tags/1.6.2/readme.txt (modified) (2 diffs)
-
tags/1.6.2/searchwp-live-ajax-search.php (modified) (3 diffs)
-
trunk/includes/class-client.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/searchwp-live-ajax-search.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
searchwp-live-ajax-search/tags/1.6.2/includes/class-client.php
r2455620 r2683712 104 104 } else { 105 105 // native WordPress search 106 $args = $_POST; 107 $args['s'] = $query; 108 if ( ! isset( $_REQUEST['post_status'] ) ) { 109 $args['post_status'] = 'publish'; 110 } 111 if ( ! isset( $_REQUEST['post_type'] ) ) { 112 $args['post_type'] = get_post_types( array( 113 'public' => true, 114 'exclude_from_search' => false, 115 ) ); 116 } 106 $args = array( 107 's' => $query, 108 'post_status' => 'publish', 109 'post_type' => get_post_types( 110 array( 111 'public' => true, 112 'exclude_from_search' => false, 113 ) 114 ), 115 ); 117 116 } 118 117 -
searchwp-live-ajax-search/tags/1.6.2/readme.txt
r2682016 r2683712 4 4 Requires at least: 3.9 5 5 Tested up to: 5.9.1 6 Stable tag: 1.6. 16 Stable tag: 1.6.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 77 77 == Changelog == 78 79 = 1.6.2 = 80 * Limits the arguments passed to the query when used with the WordPress native search. 78 81 79 82 = 1.6.1 = -
searchwp-live-ajax-search/tags/1.6.2/searchwp-live-ajax-search.php
r2682016 r2683712 4 4 Plugin URI: https://searchwp.com/ 5 5 Description: Enhance your search forms with live search, powered by SearchWP (if installed) 6 Version: 1.6. 16 Version: 1.6.2 7 7 Requires PHP: 5.6 8 8 Author: SearchWP, LLC … … 45 45 public $dir; 46 46 public $url; 47 public $version = '1.6. 1';47 public $version = '1.6.2'; 48 48 public $results = array(); 49 49 … … 66 66 } 67 67 68 if ( version_compare( $this->last_version, '1.6. 1', '<' ) ) {68 if ( version_compare( $this->last_version, '1.6.2', '<' ) ) { 69 69 update_option( 'searchwp_live_search_last_update', current_time( 'timestamp' ) ); 70 70 $this->after_upgrade(); -
searchwp-live-ajax-search/trunk/includes/class-client.php
r2455620 r2683712 104 104 } else { 105 105 // native WordPress search 106 $args = $_POST; 107 $args['s'] = $query; 108 if ( ! isset( $_REQUEST['post_status'] ) ) { 109 $args['post_status'] = 'publish'; 110 } 111 if ( ! isset( $_REQUEST['post_type'] ) ) { 112 $args['post_type'] = get_post_types( array( 113 'public' => true, 114 'exclude_from_search' => false, 115 ) ); 116 } 106 $args = array( 107 's' => $query, 108 'post_status' => 'publish', 109 'post_type' => get_post_types( 110 array( 111 'public' => true, 112 'exclude_from_search' => false, 113 ) 114 ), 115 ); 117 116 } 118 117 -
searchwp-live-ajax-search/trunk/readme.txt
r2682016 r2683712 4 4 Requires at least: 3.9 5 5 Tested up to: 5.9.1 6 Stable tag: 1.6. 16 Stable tag: 1.6.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 77 77 == Changelog == 78 79 = 1.6.2 = 80 * Limits the arguments passed to the query when used with the WordPress native search. 78 81 79 82 = 1.6.1 = -
searchwp-live-ajax-search/trunk/searchwp-live-ajax-search.php
r2682016 r2683712 4 4 Plugin URI: https://searchwp.com/ 5 5 Description: Enhance your search forms with live search, powered by SearchWP (if installed) 6 Version: 1.6. 16 Version: 1.6.2 7 7 Requires PHP: 5.6 8 8 Author: SearchWP, LLC … … 45 45 public $dir; 46 46 public $url; 47 public $version = '1.6. 1';47 public $version = '1.6.2'; 48 48 public $results = array(); 49 49 … … 66 66 } 67 67 68 if ( version_compare( $this->last_version, '1.6. 1', '<' ) ) {68 if ( version_compare( $this->last_version, '1.6.2', '<' ) ) { 69 69 update_option( 'searchwp_live_search_last_update', current_time( 'timestamp' ) ); 70 70 $this->after_upgrade();
Note: See TracChangeset
for help on using the changeset viewer.