Ajax Search for WooCommerce - Version 1.18.1

Version Description

Download this release

Release Info

Developer damian-gora
Plugin Icon 128x128 Ajax Search for WooCommerce
Version 1.18.1
Comparing to
See all releases

Code changes from version 1.18.0 to 1.18.1

ajax-search-for-woocommerce.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: FiboSearch - AJAX Search for WooCommerce
5
  * Plugin URI: https://fibosearch.com?utm_source=wp-admin&utm_medium=referral&utm_campaign=author_uri&utm_gen=utmdc
6
  * Description: The most popular WooCommerce product search. Gives your users a well-designed advanced AJAX search bar with live search suggestions.
7
- * Version: 1.18.0
8
  * Author: FiboSearch Team
9
  * Author URI: https://fibosearch.com?utm_source=wp-admin&utm_medium=referral&utm_campaign=author_uri&utm_gen=utmdc
10
  * Text Domain: ajax-search-for-woocommerce
4
  * Plugin Name: FiboSearch - AJAX Search for WooCommerce
5
  * Plugin URI: https://fibosearch.com?utm_source=wp-admin&utm_medium=referral&utm_campaign=author_uri&utm_gen=utmdc
6
  * Description: The most popular WooCommerce product search. Gives your users a well-designed advanced AJAX search bar with live search suggestions.
7
+ * Version: 1.18.1
8
  * Author: FiboSearch Team
9
  * Author URI: https://fibosearch.com?utm_source=wp-admin&utm_medium=referral&utm_campaign=author_uri&utm_gen=utmdc
10
  * Text Domain: ajax-search-for-woocommerce
includes/Engines/WordPressNative/Search.php CHANGED
@@ -41,6 +41,10 @@ class Search
41
  * @var array
42
  */
43
  private $searchIn = array() ;
 
 
 
 
44
  public function __construct()
45
  {
46
  $this->searchIn = apply_filters( 'dgwt/wcas/native/search_in', array(
@@ -686,6 +690,10 @@ class Search
686
  if ( !Helpers::isSearchQuery( $query ) ) {
687
  return;
688
  }
 
 
 
 
689
  /**
690
  * Disable cache: `cache_results` defaults to false but can be enabled
691
  */
41
  * @var array
42
  */
43
  private $searchIn = array() ;
44
+ /**
45
+ * @var bool Whether the search results have already been overwritten.
46
+ */
47
+ private $hooked = false ;
48
  public function __construct()
49
  {
50
  $this->searchIn = apply_filters( 'dgwt/wcas/native/search_in', array(
690
  if ( !Helpers::isSearchQuery( $query ) ) {
691
  return;
692
  }
693
+ if ( $this->hooked ) {
694
+ return;
695
+ }
696
+ $this->hooked = true;
697
  /**
698
  * Disable cache: `cache_results` defaults to false but can be enabled
699
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce search, ajax search, search by sku, product search, woocommerc
4
  Requires at least: 5.0
5
  Tested up to: 6.0
6
  Requires PHP: 7.0
7
- Stable tag: 1.18.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,6 +142,9 @@ You can read more and compare Pro and Free features here: [Full comparison - Pro
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 1.18.0, May 12, 2022 =
146
  * ADD: New feature - FiboSearch Analytics. This feature will be available to everyone in FiboSearch v1.19.0. To enable it in v1.18.0 declare constant `define( 'DGWT_WCAS_ANALYTICS_ENABLE', true );` in `wp-config.php`
147
  * ADD: Open selected suggestion in new tab by shortcut Cmd+Enter/Ctrl+Enter
4
  Requires at least: 5.0
5
  Tested up to: 6.0
6
  Requires PHP: 7.0
7
+ Stable tag: 1.18.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.18.1, May 23, 2022 =
146
+ * FIX: Exceeding the memory limit on the search results page
147
+
148
  = 1.18.0, May 12, 2022 =
149
  * ADD: New feature - FiboSearch Analytics. This feature will be available to everyone in FiboSearch v1.19.0. To enable it in v1.18.0 declare constant `define( 'DGWT_WCAS_ANALYTICS_ENABLE', true );` in `wp-config.php`
150
  * ADD: Open selected suggestion in new tab by shortcut Cmd+Enter/Ctrl+Enter