Version Description
- Released on 27 December 2021 =
- New: support for WooCommerce 6.1
- Update: YITH plugin framework
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Search |
Version | 1.14.0 |
Comparing to | |
See all releases |
Code changes from version 1.13.0 to 1.14.0
- includes/class.yith-wcas-admin.php +3 -3
- init.php +4 -4
- languages/yith-woocommerce-ajax-search.pot +2 -6
- plugin-fw/templates/fields/list-table.php +2 -2
- readme.txt +5 -1
includes/class.yith-wcas-admin.php
CHANGED
@@ -128,8 +128,8 @@ if ( ! class_exists( 'YITH_WCAS_Admin' ) ) {
|
|
128 |
'create_menu_page' => true,
|
129 |
'parent_slug' => '',
|
130 |
'plugin_slug' => YITH_WCAS_SLUG,
|
131 |
-
'page_title' =>
|
132 |
-
'menu_title' =>
|
133 |
'capability' => 'manage_options',
|
134 |
'parent' => '',
|
135 |
'parent_page' => 'yith_plugin_panel',
|
@@ -197,7 +197,7 @@ if ( ! class_exists( 'YITH_WCAS_Admin' ) ) {
|
|
197 |
* @return string The premium landing link
|
198 |
*/
|
199 |
public function get_premium_landing_uri() {
|
200 |
-
return $this->_premium_landing;
|
201 |
}
|
202 |
|
203 |
}
|
128 |
'create_menu_page' => true,
|
129 |
'parent_slug' => '',
|
130 |
'plugin_slug' => YITH_WCAS_SLUG,
|
131 |
+
'page_title' => 'YITH WooCommerce Ajax Search',
|
132 |
+
'menu_title' => 'Ajax Search',
|
133 |
'capability' => 'manage_options',
|
134 |
'parent' => '',
|
135 |
'parent_page' => 'yith_plugin_panel',
|
197 |
* @return string The premium landing link
|
198 |
*/
|
199 |
public function get_premium_landing_uri() {
|
200 |
+
return apply_filters( 'yith_plugin_fw_premium_landing_uri', $this->_premium_landing, YITH_WCAS_SLUG );
|
201 |
}
|
202 |
|
203 |
}
|
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.
|
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: 5.3
|
12 |
-
* WC tested up to: 6.
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Ajax Search
|
16 |
-
* @version 1.
|
17 |
*/
|
18 |
|
19 |
/*
|
@@ -75,7 +75,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
75 |
if ( defined( 'YITH_WCAS_VERSION' ) ) {
|
76 |
return;
|
77 |
} else {
|
78 |
-
define( 'YITH_WCAS_VERSION', '1.
|
79 |
}
|
80 |
|
81 |
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
|
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.14.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: 5.3
|
12 |
+
* WC tested up to: 6.1
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Ajax Search
|
16 |
+
* @version 1.14.0
|
17 |
*/
|
18 |
|
19 |
/*
|
75 |
if ( defined( 'YITH_WCAS_VERSION' ) ) {
|
76 |
return;
|
77 |
} else {
|
78 |
+
define( 'YITH_WCAS_VERSION', '1.14.0' );
|
79 |
}
|
80 |
|
81 |
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
|
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.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-ajax-search\n"
|
8 |
-
"POT-Creation-Date: 2021-12-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -22,10 +22,6 @@ msgstr ""
|
|
22 |
msgid "Premium Version"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-wcas-admin.php:132
|
26 |
-
msgid "Ajax Search"
|
27 |
-
msgstr ""
|
28 |
-
|
29 |
#: includes/class.yith-wcas.php:203
|
30 |
msgid "No results"
|
31 |
msgstr ""
|
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.14.0\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-ajax-search\n"
|
8 |
+
"POT-Creation-Date: 2021-12-27 14:48:53+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
22 |
msgid "Premium Version"
|
23 |
msgstr ""
|
24 |
|
|
|
|
|
|
|
|
|
25 |
#: includes/class.yith-wcas.php:203
|
26 |
msgid "No results"
|
27 |
msgstr ""
|
plugin-fw/templates/fields/list-table.php
CHANGED
@@ -11,11 +11,11 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
|
11 |
list ( $field_id, $class, $the_title, $the_post_type, $args, $add_new_button, $add_new_url, $list_table_class, $list_table_class_dir, $search_form, $desc ) = yith_plugin_fw_extract( $field, 'id', 'class', 'title', 'post_type', 'args', 'add_new_button', 'add_new_url', 'list_table_class', 'list_table_class_dir', 'search_form', 'desc' );
|
12 |
|
13 |
$show_button = false;
|
14 |
-
if ( isset( $add_new_button ) && isset( $the_post_type ) ) {
|
15 |
$show_button = true;
|
16 |
$admin_url = admin_url( 'post-new.php' );
|
17 |
$params['post_type'] = $the_post_type;
|
18 |
-
$add_new_url = apply_filters( 'yith_plugin_fw_add_new_post_url', esc_url( add_query_arg( $params, $admin_url ) ), $params, isset( $args ) ? $args : false );
|
19 |
}
|
20 |
|
21 |
if ( isset( $list_table_class, $list_table_class_dir ) && ! class_exists( $list_table_class ) && file_exists( $list_table_class_dir ) ) {
|
11 |
list ( $field_id, $class, $the_title, $the_post_type, $args, $add_new_button, $add_new_url, $list_table_class, $list_table_class_dir, $search_form, $desc ) = yith_plugin_fw_extract( $field, 'id', 'class', 'title', 'post_type', 'args', 'add_new_button', 'add_new_url', 'list_table_class', 'list_table_class_dir', 'search_form', 'desc' );
|
12 |
|
13 |
$show_button = false;
|
14 |
+
if ( isset( $add_new_button ) && ( isset( $the_post_type ) || ( isset( $add_new_url ) ) ) ) {
|
15 |
$show_button = true;
|
16 |
$admin_url = admin_url( 'post-new.php' );
|
17 |
$params['post_type'] = $the_post_type;
|
18 |
+
$add_new_url = $add_new_url ? $add_new_url : apply_filters( 'yith_plugin_fw_add_new_post_url', esc_url( add_query_arg( $params, $admin_url ) ), $params, isset( $args ) ? $args : false );
|
19 |
}
|
20 |
|
21 |
if ( isset( $list_table_class, $list_table_class_dir ) && ! class_exists( $list_table_class ) && file_exists( $list_table_class_dir ) ) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.6.0
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -138,6 +138,10 @@ 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.13.0 - Released on 16 December 2021 =
|
142 |
* New: support for WooCommerce 6.0
|
143 |
* Update: YITH plugin framework
|
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.6.0
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 1.14.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.14.0 - Released on 27 December 2021 =
|
142 |
+
* New: support for WooCommerce 6.1
|
143 |
+
* Update: YITH plugin framework
|
144 |
+
|
145 |
= 1.13.0 - Released on 16 December 2021 =
|
146 |
* New: support for WooCommerce 6.0
|
147 |
* Update: YITH plugin framework
|