Version Description
- Fix bug with search results page
Download this release
Release Info
Developer | Mihail Barinov |
Plugin | Advanced Woo Search |
Version | 1.29 |
Comparing to | |
See all releases |
Code changes from version 1.28 to 1.29
- advanced-woo-search.php +2 -2
- includes/class-aws-search-page.php +2 -1
- readme.txt +4 -1
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.29
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: aws
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
define( 'AWS_VERSION', '1.29' );
|
18 |
|
19 |
|
20 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
includes/class-aws-search-page.php
CHANGED
@@ -98,7 +98,7 @@ if ( ! class_exists( 'AWS_Search_Page' ) ) :
|
|
98 |
|
99 |
$search_query = $query->query_vars['s'];
|
100 |
|
101 |
-
$posts_array = aws_search( $search_query );
|
102 |
$posts_per_page = apply_filters( 'aws_posts_per_page', $query->get( 'posts_per_page' ) );
|
103 |
|
104 |
$query->found_posts = count( $posts_array['products'] );
|
@@ -114,6 +114,7 @@ if ( ! class_exists( 'AWS_Search_Page' ) ) :
|
|
114 |
foreach ( $products as $post_array ) {
|
115 |
$post = new stdClass();
|
116 |
|
|
|
117 |
$post_data = $post_array['post_data'];
|
118 |
|
119 |
$post->ID = $post_data->ID;
|
98 |
|
99 |
$search_query = $query->query_vars['s'];
|
100 |
|
101 |
+
$posts_array = (array) aws_search( $search_query );
|
102 |
$posts_per_page = apply_filters( 'aws_posts_per_page', $query->get( 'posts_per_page' ) );
|
103 |
|
104 |
$query->found_posts = count( $posts_array['products'] );
|
114 |
foreach ( $products as $post_array ) {
|
115 |
$post = new stdClass();
|
116 |
|
117 |
+
$post_array = (array) $post_array;
|
118 |
$post_data = $post_array['post_data'];
|
119 |
|
120 |
$post->ID = $post_data->ID;
|
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: 4.9
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -75,6 +75,9 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 1.28 =
|
79 |
* Add caching table to store cached search result instead of store them in wp_options table
|
80 |
* Fix deprecated action 'woocommerce_variable_product_sync'
|
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.9
|
7 |
+
Stable tag: 1.29
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.29 =
|
79 |
+
* Fix bug with search results page
|
80 |
+
|
81 |
= 1.28 =
|
82 |
* Add caching table to store cached search result instead of store them in wp_options table
|
83 |
* Fix deprecated action 'woocommerce_variable_product_sync'
|