Advanced Woo Search - Version 1.12

Version Description

  • Fix small bugs in search results output
Download this release

Release Info

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

Code changes from version 1.11 to 1.12

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.11
7
  Author: ILLID
8
  Text Domain: aws
9
  */
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
13
  exit;
14
  }
15
 
16
- define( 'AWS_VERSION', '1.11' );
17
 
18
 
19
  define( 'AWS_DIR', dirname( __FILE__ ) );
3
  /*
4
  Plugin Name: Advanced Woo Search
5
  Description: Advance ajax WooCommerce product search.
6
+ Version: 1.12
7
  Author: ILLID
8
  Text Domain: aws
9
  */
13
  exit;
14
  }
15
 
16
+ define( 'AWS_VERSION', '1.12' );
17
 
18
 
19
  define( 'AWS_DIR', dirname( __FILE__ ) );
assets/js/common.js CHANGED
@@ -95,7 +95,7 @@
95
  html += '<a class="aws_result_link" href="' + result.link + '" >';
96
  html += '<span class="aws_result_content">';
97
  html += '<span class="aws_result_title">';
98
- html += result.name + '(' + result.count + ')';
99
  html += '</span>';
100
  html += '</span>';
101
  html += '</a>';
@@ -113,7 +113,7 @@
113
  html += '<a class="aws_result_link" href="' + result.link + '" >';
114
  html += '<span class="aws_result_content">';
115
  html += '<span class="aws_result_title">';
116
- html += result.name + '(' + result.count + ')';
117
  html += '</span>';
118
  html += '</span>';
119
  html += '</a>';
95
  html += '<a class="aws_result_link" href="' + result.link + '" >';
96
  html += '<span class="aws_result_content">';
97
  html += '<span class="aws_result_title">';
98
+ html += result.name + ' (' + result.count + ')';
99
  html += '</span>';
100
  html += '</span>';
101
  html += '</a>';
113
  html += '<a class="aws_result_link" href="' + result.link + '" >';
114
  html += '<span class="aws_result_content">';
115
  html += '<span class="aws_result_title">';
116
+ html += result.name + ' (' + result.count + ')';
117
  html += '</span>';
118
  html += '</span>';
119
  html += '</a>';
includes/class-aws-search.php CHANGED
@@ -313,6 +313,7 @@ if ( ! class_exists( 'AWS_Search' ) ) :
313
  $excerpt = ( $excerpt_source === 'excerpt' && $post_data->post_excerpt ) ? $post_data->post_excerpt : $post_data->post_content;
314
  $excerpt = AWS_Helpers::html2txt( $excerpt );
315
  $excerpt = str_replace('"', "'", $excerpt);
 
316
  }
317
 
318
  if ( $mark_search_words === 'true' ) {
313
  $excerpt = ( $excerpt_source === 'excerpt' && $post_data->post_excerpt ) ? $post_data->post_excerpt : $post_data->post_content;
314
  $excerpt = AWS_Helpers::html2txt( $excerpt );
315
  $excerpt = str_replace('"', "'", $excerpt);
316
+ $excerpt = strip_shortcodes( $excerpt );
317
  }
318
 
319
  if ( $mark_search_words === 'true' ) {
includes/widget.php CHANGED
@@ -22,7 +22,7 @@ class AWS_Widget extends WP_Widget {
22
  */
23
  function widget( $args, $instance ) {
24
  extract( $args );
25
- $title = apply_filters('widget_title', $instance['title'] );
26
 
27
  echo $before_widget;
28
  echo $before_title;
22
  */
23
  function widget( $args, $instance ) {
24
  extract( $args );
25
+ $title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base );
26
 
27
  echo $before_widget;
28
  echo $before_title;
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.7.2
7
- Stable tag: 1.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -36,6 +36,7 @@ Advanced Woo Search - powerful live search plugin for WooCommerce. Just start ty
36
  * **Anvanced settings page** with lot of options
37
  * **Exclude** spicific products by its categories or tags from search results
38
  * Ability to specify **source of image** for search results: featured image, gallery, product content, product short description or set default image if there is no other images
 
39
 
40
  == Installation ==
41
 
@@ -64,6 +65,9 @@ Or insert this function inside php file ( often it used to insert form inside pa
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 1.11 =
68
  * Fix issue with indexing large amount of products
69
  * Fix bag with search page query
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.7.2
7
+ Stable tag: 1.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
36
  * **Anvanced settings page** with lot of options
37
  * **Exclude** spicific products by its categories or tags from search results
38
  * Ability to specify **source of image** for search results: featured image, gallery, product content, product short description or set default image if there is no other images
39
+ * Support for **WooCommerce Brands plugin**
40
 
41
  == Installation ==
42
 
65
 
66
  == Changelog ==
67
 
68
+ = 1.12 =
69
+ * Fix small bugs in search results output
70
+
71
  = 1.11 =
72
  * Fix issue with indexing large amount of products
73
  * Fix bag with search page query