Advanced Woo Search - Version 1.71

Version Description

  • Fix - Index table sync for WPML translations
Download this release

Release Info

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

Code changes from version 1.70 to 1.71

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.70
7
  Author: ILLID
8
  Author URI: https://advanced-woo-search.com/
9
  Text Domain: aws
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  exit;
17
  }
18
 
19
- define( 'AWS_VERSION', '1.70' );
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.71
7
  Author: ILLID
8
  Author URI: https://advanced-woo-search.com/
9
  Text Domain: aws
16
  exit;
17
  }
18
 
19
+ define( 'AWS_VERSION', '1.71' );
20
 
21
 
22
  define( 'AWS_DIR', dirname( __FILE__ ) );
includes/class-aws-helpers.php CHANGED
@@ -439,6 +439,12 @@ if ( ! class_exists( 'AWS_Helpers' ) ) :
439
  // Diacritical marks
440
  $string = strtr( $string, AWS_Helpers::get_diacritic_chars() );
441
 
 
 
 
 
 
 
442
  /**
443
  * Filters normalized string
444
  *
439
  // Diacritical marks
440
  $string = strtr( $string, AWS_Helpers::get_diacritic_chars() );
441
 
442
+ if ( function_exists( 'mb_strtolower' ) ) {
443
+ $string = mb_strtolower( $string );
444
+ } else {
445
+ $string = strtolower( $string );
446
+ }
447
+
448
  /**
449
  * Filters normalized string
450
  *
includes/class-aws-search.php CHANGED
@@ -98,8 +98,6 @@ if ( ! class_exists( 'AWS_Search' ) ) :
98
  do_action( 'aws_search_start', $s );
99
 
100
 
101
- //$s = strtolower( $s );
102
-
103
  $cache_option_name = '';
104
 
105
  if ( $cache === 'true' && ! $keyword ) {
98
  do_action( 'aws_search_start', $s );
99
 
100
 
 
 
101
  $cache_option_name = '';
102
 
103
  if ( $cache === 'true' && ! $keyword ) {
includes/class-aws-table.php CHANGED
@@ -722,7 +722,6 @@ if ( ! class_exists( 'AWS_Table' ) ) :
722
  'fields' => 'ids',
723
  'post_type' => 'product',
724
  'post_status' => 'publish',
725
- 'suppress_filters' => false,
726
  'no_found_rows' => 1,
727
  'include' => $product_id,
728
  'lang' => ''
@@ -789,12 +788,6 @@ if ( ! class_exists( 'AWS_Table' ) ) :
789
 
790
  $str = str_replace( 'Ăź', 'ss', $str );
791
 
792
- if ( function_exists( 'mb_strtolower' ) ) {
793
- $str = mb_strtolower( $str );
794
- } else {
795
- $str = strtolower( $str );
796
- }
797
-
798
  $str = preg_replace( '/^[a-z]$/i', "", $str );
799
 
800
  $str = preg_replace( '/\s+/', ' ', $str );
722
  'fields' => 'ids',
723
  'post_type' => 'product',
724
  'post_status' => 'publish',
 
725
  'no_found_rows' => 1,
726
  'include' => $product_id,
727
  'lang' => ''
788
 
789
  $str = str_replace( 'Ăź', 'ss', $str );
790
 
 
 
 
 
 
 
791
  $str = preg_replace( '/^[a-z]$/i', "", $str );
792
 
793
  $str = preg_replace( '/\s+/', ' ', $str );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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.70
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,9 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 1.70 =
107
  * Dev - Update security checks
108
  * Dev - Update nonce check
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.71
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 1.71 =
107
+ * Fix - Index table sync for WPML translations
108
+
109
  = 1.70 =
110
  * Dev - Update security checks
111
  * Dev - Update nonce check