YITH WooCommerce Ajax Search - Version 1.25.0

Version Description

  • Released on 02 November 2022 =
  • New: support for WordPress 6.1
  • New: support for WooCommerce 7.1
  • Update: YITH plugin framework
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Search
Version 1.25.0
Comparing to
See all releases

Code changes from version 1.24.0 to 1.25.0

init.php CHANGED
@@ -3,17 +3,17 @@
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
5
  * Description: <code><strong>YITH WooCommerce Ajax Search</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
- * Version: 1.24.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
11
- * WC requires at least: 6.8
12
- * WC tested up to: 7.0
13
  *
14
  * @author YITH
15
  * @package YITH WooCommerce Ajax Search
16
- * @version 1.24.0
17
  */
18
 
19
  /*
@@ -71,7 +71,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
71
 
72
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
73
 
74
- ! defined( 'YITH_WCAS_VERSION' ) && define( 'YITH_WCAS_VERSION', '1.24.0' );
75
  ! defined( 'YITH_WCAS_FREE_INIT' ) && define( 'YITH_WCAS_FREE_INIT', plugin_basename( __FILE__ ) );
76
  ! defined( 'YITH_WCAS' ) && define( 'YITH_WCAS', true );
77
  ! defined( 'YITH_WCAS_FILE' ) && define( 'YITH_WCAS_FILE', __FILE__ );
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
5
  * Description: <code><strong>YITH WooCommerce Ajax Search</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
+ * Version: 1.25.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
11
+ * WC requires at least: 6.9
12
+ * WC tested up to: 7.1
13
  *
14
  * @author YITH
15
  * @package YITH WooCommerce Ajax Search
16
+ * @version 1.25.0
17
  */
18
 
19
  /*
71
 
72
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
73
 
74
+ ! defined( 'YITH_WCAS_VERSION' ) && define( 'YITH_WCAS_VERSION', '1.25.0' );
75
  ! defined( 'YITH_WCAS_FREE_INIT' ) && define( 'YITH_WCAS_FREE_INIT', plugin_basename( __FILE__ ) );
76
  ! defined( 'YITH_WCAS' ) && define( 'YITH_WCAS', true );
77
  ! defined( 'YITH_WCAS_FILE' ) && define( 'YITH_WCAS_FILE', __FILE__ );
languages/yith-woocommerce-ajax-search.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the YITH WooCommerce Ajax Search package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Ajax Search 1.24.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-ajax-search\n"
8
- "POT-Creation-Date: 2022-10-04 14:34:27+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the YITH WooCommerce Ajax Search package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Ajax Search 1.25.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-ajax-search\n"
8
+ "POT-Creation-Date: 2022-11-02 15:55:58+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
plugin-fw/includes/class-yit-ajax.php CHANGED
@@ -241,7 +241,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
241
  die();
242
  }
243
 
244
- $terms = yith_get_terms( $args );
245
 
246
  if ( 'id' !== $args['term_field'] ) {
247
  $temp_terms = $terms;
@@ -252,6 +252,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
252
  }
253
  }
254
 
 
255
  wp_send_json( $terms );
256
  }
257
  }
241
  die();
242
  }
243
 
244
+ $terms = get_terms( $args );
245
 
246
  if ( 'id' !== $args['term_field'] ) {
247
  $temp_terms = $terms;
252
  }
253
  }
254
 
255
+ $terms = apply_filters( 'yith_plugin_fw_json_search_found_terms', $terms, $args );
256
  wp_send_json( $terms );
257
  }
258
  }
plugin-fw/templates/components/action-button.php CHANGED
@@ -46,7 +46,7 @@ $link_class = implode( ' ', array_filter( $link_classes ) );
46
  <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
-
50
  href="<?php echo esc_url( $url ); ?>"
51
  <?php if ( $the_title ) : ?>
52
  data-tip="<?php echo esc_attr( $the_title ); ?>"
46
  <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
+ aria-label="<?php echo esc_attr( $the_title ); ?>"
50
  href="<?php echo esc_url( $url ); ?>"
51
  <?php if ( $the_title ) : ?>
52
  data-tip="<?php echo esc_attr( $the_title ); ?>"
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
 
3
  Contributors: yithemes
4
  Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
- Requires at least: 5.8
6
- Tested up to: 6.0
7
- Stable tag: 1.24.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -138,6 +138,11 @@ If you have created your own language pack for YITH WooCommerce Ajax Search, or
138
  2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
139
 
140
  == Changelog ==
 
 
 
 
 
141
  = 1.24.0 - Released on 04 October 2022 =
142
  * New: support for WooCommerce 7.0
143
  * Update: YITH plugin framework
2
 
3
  Contributors: yithemes
4
  Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
+ Requires at least: 5.9
6
+ Tested up to: 6.1
7
+ Stable tag: 1.25.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
138
  2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
139
 
140
  == Changelog ==
141
+ = 1.25.0 - Released on 02 November 2022 =
142
+ * New: support for WordPress 6.1
143
+ * New: support for WooCommerce 7.1
144
+ * Update: YITH plugin framework
145
+
146
  = 1.24.0 - Released on 04 October 2022 =
147
  * New: support for WooCommerce 7.0
148
  * Update: YITH plugin framework