Advanced Woo Search - Version 1.84

Version Description

  • Update - Add indexes for table
  • Update - Cache query sql
Download this release

Release Info

Developer Mihail Barinov
Plugin Icon 128x128 Advanced Woo Search
Version 1.84
Comparing to
See all releases

Code changes from version 1.83 to 1.84

advanced-woo-search.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Advanced Woo Search
5
  Description: Advance ajax WooCommerce product search.
6
- Version: 1.83
7
  Author: ILLID
8
  Author URI: https://advanced-woo-search.com/
9
  Text Domain: advanced-woo-search
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  exit;
17
  }
18
 
19
- define( 'AWS_VERSION', '1.83' );
20
 
21
 
22
  define( 'AWS_DIR', dirname( __FILE__ ) );
3
  /*
4
  Plugin Name: Advanced Woo Search
5
  Description: Advance ajax WooCommerce product search.
6
+ Version: 1.84
7
  Author: ILLID
8
  Author URI: https://advanced-woo-search.com/
9
  Text Domain: advanced-woo-search
16
  exit;
17
  }
18
 
19
+ define( 'AWS_VERSION', '1.84' );
20
 
21
 
22
  define( 'AWS_DIR', dirname( __FILE__ ) );
includes/class-aws-cache.php CHANGED
@@ -152,7 +152,7 @@ if ( ! class_exists( 'AWS_Cache' ) ) :
152
  global $wpdb;
153
 
154
  $result = '';
155
- $where = $wpdb->prepare( " name LIKE %s", sanitize_text_field( $cache_option_name ) );
156
 
157
  $sql = "SELECT *
158
  FROM
152
  global $wpdb;
153
 
154
  $result = '';
155
+ $where = $wpdb->prepare( " name = %s", sanitize_text_field( $cache_option_name ) );
156
 
157
  $sql = "SELECT *
158
  FROM
includes/class-aws-table.php CHANGED
@@ -277,7 +277,9 @@ if ( ! class_exists( 'AWS_Table' ) ) :
277
  on_sale INT(11) NOT NULL DEFAULT 0,
278
  term_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
279
  visibility VARCHAR(20) NOT NULL DEFAULT 0,
280
- lang VARCHAR(20) NOT NULL DEFAULT 0
 
 
281
  ) $charset_collate;";
282
 
283
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
277
  on_sale INT(11) NOT NULL DEFAULT 0,
278
  term_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
279
  visibility VARCHAR(20) NOT NULL DEFAULT 0,
280
+ lang VARCHAR(20) NOT NULL DEFAULT 0,
281
+ KEY id (id),
282
+ KEY term_id (term_id)
283
  ) $charset_collate;";
284
 
285
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Mihail Barinov
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSE37FC4Y7CEY
4
  Tags: widget, plugin, woocommerce, search, product search, woocommerce search, ajax search, live search, custom search, ajax, shortcode, better search, relevance search, relevant search, search by sku, search plugin, shop, store, wordpress search, wp ajax search, wp search, wp search plugin, sidebar, ecommerce, merketing, products, category search, instant-search, search highlight, woocommerce advanced search, woocommerce live search, WooCommerce Plugin, woocommerce product search
5
  Requires at least: 4.0
6
- Tested up to: 5.2
7
- Stable tag: 1.83
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -104,6 +104,10 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
104
 
105
  == Changelog ==
106
 
 
 
 
 
107
  = 1.83 =
108
  * Add - Support for Maya shop theme
109
  * Add - Support for Generatepress theme
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSE37FC4Y7CEY
4
  Tags: widget, plugin, woocommerce, search, product search, woocommerce search, ajax search, live search, custom search, ajax, shortcode, better search, relevance search, relevant search, search by sku, search plugin, shop, store, wordpress search, wp ajax search, wp search, wp search plugin, sidebar, ecommerce, merketing, products, category search, instant-search, search highlight, woocommerce advanced search, woocommerce live search, WooCommerce Plugin, woocommerce product search
5
  Requires at least: 4.0
6
+ Tested up to: 5.3
7
+ Stable tag: 1.84
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
104
 
105
  == Changelog ==
106
 
107
+ = 1.84 =
108
+ * Update - Add indexes for table
109
+ * Update - Cache query sql
110
+
111
  = 1.83 =
112
  * Add - Support for Maya shop theme
113
  * Add - Support for Generatepress theme