Version Description
- Add markdown support for 'Nothing found' field
- Fix WPML bug
Download this release
Release Info
Developer | Mihail Barinov |
Plugin | Advanced Woo Search |
Version | 1.25 |
Comparing to | |
See all releases |
Code changes from version 1.24 to 1.25
- advanced-woo-search.php +2 -2
- includes/class-aws-search.php +1 -1
- includes/options.php +3 -3
- languages/aws.pot +2 -2
- readme.txt +7 -4
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.
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: aws
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
define( 'AWS_VERSION', '1.
|
18 |
|
19 |
|
20 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
+
Version: 1.25
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: aws
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
define( 'AWS_VERSION', '1.25' );
|
18 |
|
19 |
|
20 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
includes/class-aws-search.php
CHANGED
@@ -273,7 +273,7 @@ if ( ! class_exists( 'AWS_Search' ) ) :
|
|
273 |
if ( has_filter('wpml_current_language') ) {
|
274 |
$current_lang = apply_filters( 'wpml_current_language', NULL );
|
275 |
if ( $current_lang ) {
|
276 |
-
$query['lang'] .= $wpdb->prepare( " AND lang LIKE %s", $current_lang );
|
277 |
}
|
278 |
}
|
279 |
}
|
273 |
if ( has_filter('wpml_current_language') ) {
|
274 |
$current_lang = apply_filters( 'wpml_current_language', NULL );
|
275 |
if ( $current_lang ) {
|
276 |
+
$query['lang'] .= $wpdb->prepare( " AND ( lang LIKE %s OR lang = '' )", $current_lang );
|
277 |
}
|
278 |
}
|
279 |
}
|
includes/options.php
CHANGED
@@ -68,11 +68,11 @@ $options['form'][] = array(
|
|
68 |
);
|
69 |
|
70 |
$options['form'][] = array(
|
71 |
-
"name" => __( "Nothing found
|
72 |
-
"desc" => __( "Text when there is no search results.", "aws" ),
|
73 |
"id" => "not_found_text",
|
74 |
"value" => __( "Nothing found", "aws" ),
|
75 |
-
"type" => "
|
76 |
);
|
77 |
|
78 |
$options['form'][] = array(
|
68 |
);
|
69 |
|
70 |
$options['form'][] = array(
|
71 |
+
"name" => __( "Nothing found field", "aws" ),
|
72 |
+
"desc" => __( "Text when there is no search results. HTML tags is allowed.", "aws" ),
|
73 |
"id" => "not_found_text",
|
74 |
"value" => __( "Nothing found", "aws" ),
|
75 |
+
"type" => "textarea"
|
76 |
);
|
77 |
|
78 |
$options['form'][] = array(
|
languages/aws.pot
CHANGED
@@ -148,11 +148,11 @@ msgid "Search"
|
|
148 |
msgstr ""
|
149 |
|
150 |
#: includes/options.php:40
|
151 |
-
msgid "Nothing found
|
152 |
msgstr ""
|
153 |
|
154 |
#: includes/options.php:41
|
155 |
-
msgid "Text when there is no search results."
|
156 |
msgstr ""
|
157 |
|
158 |
#: includes/options.php:43
|
148 |
msgstr ""
|
149 |
|
150 |
#: includes/options.php:40
|
151 |
+
msgid "Nothing found field"
|
152 |
msgstr ""
|
153 |
|
154 |
#: includes/options.php:41
|
155 |
+
msgid "Text when there is no search results. HTML tags is allowed."
|
156 |
msgstr ""
|
157 |
|
158 |
#: includes/options.php:43
|
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: 4.8.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -26,8 +26,7 @@ Advanced Woo Search - powerful live search plugin for WooCommerce. Just start ty
|
|
26 |
* **Smart ordering** - Search results ordered by the priority of source where they were found
|
27 |
* **Fast** - Nothing extra. Just what you need for proper work
|
28 |
* **WPML**, **WooCommerce Multilingual** support
|
29 |
-
* Supports
|
30 |
-
* **Stop words** - you can specify list of words that will be excluded from search
|
31 |
* Plurals support
|
32 |
* Google Analytics support
|
33 |
|
@@ -76,6 +75,10 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
79 |
= 1.24 =
|
80 |
* Add plurals support
|
81 |
* Fix Polylang plugin conflict
|
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: 4.8.2
|
7 |
+
Stable tag: 1.25
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
26 |
* **Smart ordering** - Search results ordered by the priority of source where they were found
|
27 |
* **Fast** - Nothing extra. Just what you need for proper work
|
28 |
* **WPML**, **WooCommerce Multilingual** support
|
29 |
+
* Supports variable products
|
|
|
30 |
* Plurals support
|
31 |
* Google Analytics support
|
32 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.25 =
|
79 |
+
* Add markdown support for 'Nothing found' field
|
80 |
+
* Fix WPML bug
|
81 |
+
|
82 |
= 1.24 =
|
83 |
* Add plurals support
|
84 |
* Fix Polylang plugin conflict
|