YITH WooCommerce Ajax Search - Version 1.6.0

Version Description

  • Released: Oct 18, 2018 =
  • Update: Plugin Core 3.0.25
  • New: Support to WooCommerce 3.5.0 RC2
Download this release

Release Info

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

Code changes from version 1.5.9 to 1.6.0

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: 4.0.0
6
  Tested up to: 4.9
7
- Stable tag: 1.5.9
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.5.9 - Released: Sep 26, 2018 =
142
  * Update: Plugin Core 3.0.23
143
 
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: 4.0.0
6
  Tested up to: 4.9
7
+ Stable tag: 1.6.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.6.0 - Released: Oct 18, 2018 =
142
+ * Update: Plugin Core 3.0.25
143
+ * New: Support to WooCommerce 3.5.0 RC2
144
+
145
  = 1.5.9 - Released: Sep 26, 2018 =
146
  * Update: Plugin Core 3.0.23
147
 
init.php CHANGED
@@ -2,14 +2,14 @@
2
  /**
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">Find new awesome plugins on <strong>YITH</strong></a>.
6
- * Version: 1.5.9
7
- * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
11
  * WC requires at least: 3.0.0
12
- * WC tested up to: 3.4.0
13
  */
14
 
15
 
@@ -67,7 +67,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
67
  if ( defined( 'YITH_WCAS_VERSION' ) ){
68
  return;
69
  }else{
70
- define( 'YITH_WCAS_VERSION', '1.5.9' );
71
  }
72
 
73
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
2
  /**
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.6.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: 3.0.0
12
+ * WC tested up to: 3.5.0
13
  */
14
 
15
 
67
  if ( defined( 'YITH_WCAS_VERSION' ) ){
68
  return;
69
  }else{
70
+ define( 'YITH_WCAS_VERSION', '1.6.0' );
71
  }
72
 
73
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
plugin-fw/assets/css/metaboxes.css CHANGED
@@ -631,4 +631,7 @@
631
  float : right;
632
  margin-right : 20px;
633
  margin-top : 5px;
 
 
 
634
  }
631
  float : right;
632
  margin-right : 20px;
633
  margin-top : 5px;
634
+ z-index: 9999 !important;
635
+ position: absolute;
636
+ right: 0;
637
  }
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.0.23
5
  * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
- * @version 3.0.23
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.0.25
5
  * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
+ * @version 3.0.24
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
plugin-fw/lib/yit-ajax.php CHANGED
@@ -17,7 +17,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
17
  * YIT Ajax
18
  *
19
  * @class YIT_Ajax
20
- * @package Yithemes
21
  * @since 1.0
22
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
23
  */
17
  * YIT Ajax
18
  *
19
  * @class YIT_Ajax
20
+ * @package YITH
21
  * @since 1.0
22
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
23
  */
plugin-fw/lib/yit-assets.php CHANGED
@@ -15,7 +15,7 @@ if ( !class_exists( 'YIT_Assets' ) ) {
15
  * YIT Assets
16
  *
17
  * @class YIT_Assets
18
- * @package Yithemes
19
  * @since 3.0.0
20
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
21
  */
15
  * YIT Assets
16
  *
17
  * @class YIT_Assets
18
+ * @package YITH
19
  * @since 3.0.0
20
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
21
  */
plugin-fw/lib/yit-cpt-unlimited.php CHANGED
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {exit('Direct access forbidden.');
14
  * Manage the custom post types as Portfolio, Contact Forms and similar (called CPTU)
15
  *
16
  * @class YIT_CPT_Unlimited
17
- * @package Yithemes
18
  * @since 2.0.0
19
  * @author Your Inspiration Themes
20
  *
14
  * Manage the custom post types as Portfolio, Contact Forms and similar (called CPTU)
15
  *
16
  * @class YIT_CPT_Unlimited
17
+ * @package YITH
18
  * @since 2.0.0
19
  * @author Your Inspiration Themes
20
  *
plugin-fw/lib/yit-debug.php CHANGED
@@ -17,7 +17,7 @@ if ( !class_exists( 'YITH_Debug' ) ) {
17
  * manages debug
18
  *
19
  * @class YITH_Debug
20
- * @package Yithemes
21
  * @since 1.0.0
22
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
23
  *
17
  * manages debug
18
  *
19
  * @class YITH_Debug
20
+ * @package YITH
21
  * @since 1.0.0
22
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
23
  *
plugin-fw/lib/yit-icons.php CHANGED
@@ -20,7 +20,7 @@ if ( !class_exists( 'YIT_Icons' ) ) {
20
  * Class to manage icons
21
  *
22
  * @class YIT_Icons
23
- * @package Yithemes
24
  * @since 1.0.0
25
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
26
  *
20
  * Class to manage icons
21
  *
22
  * @class YIT_Icons
23
+ * @package YITH
24
  * @since 1.0.0
25
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
26
  *
plugin-fw/lib/yit-metabox.php CHANGED
@@ -43,7 +43,7 @@ if ( !class_exists( 'YIT_Metabox' ) ) {
43
  * </code>
44
  *
45
  * @class YIT_Metaboxes
46
- * @package Yithemes
47
  * @since 1.0.0
48
  * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
49
  *
43
  * </code>
44
  *
45
  * @class YIT_Metaboxes
46
+ * @package YITH
47
  * @since 1.0.0
48
  * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
49
  *
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Panel
22
- * @package Yithemes
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Panel
22
+ * @package YITH
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Panel
22
- * @package Yithemes
23
  * @since 1.0
24
  * @author Your Inspiration Themes
25
  */
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Panel
22
+ * @package YITH
23
  * @since 1.0
24
  * @author Your Inspiration Themes
25
  */
plugin-fw/lib/yit-plugin-subpanel.php CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_SubPanel' ) ) {
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Panel
22
- * @package Yithemes
23
  * @since 1.0
24
  * @author Your Inspiration Themes
25
  */
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Panel
22
+ * @package YITH
23
  * @since 1.0
24
  * @author Your Inspiration Themes
25
  */
plugin-fw/lib/yit-pointers.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
15
  *
16
  *
17
  * @class yit-pointers
18
- * @package Yithemes
19
  * @since Version 2.0.0
20
  * @author Your Inspiration Themes
21
  *
@@ -27,7 +27,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
27
  * Initializes the new feature pointers.
28
  *
29
  * @class YIT_Pointers
30
- * @package Yithemes
31
  * @since 1.0
32
  * @author Your Inspiration Themes
33
  * @see WP_Internal_Pointers
@@ -65,7 +65,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
65
  $this->_default_pointer['plugins'] = array(
66
  'screen_id' => 'plugins',
67
  'options' => array(
68
- 'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
69
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
70
  __( 'Plugins Activated', 'yith-plugin-fw' ),
71
  __( 'From now on, you can find all plugin options in YITH Plugins menu.
@@ -79,7 +79,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
79
  $this->_default_pointer['update'] = array(
80
  'screen_id' => 'update',
81
  'options' => array(
82
- 'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
83
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
84
  __( 'Plugins Upgraded', 'yith-plugin-fw' ),
85
  __( 'From now on, you can find the option panel of YITH plugins in YITH Plugins menu.
15
  *
16
  *
17
  * @class yit-pointers
18
+ * @package YITH
19
  * @since Version 2.0.0
20
  * @author Your Inspiration Themes
21
  *
27
  * Initializes the new feature pointers.
28
  *
29
  * @class YIT_Pointers
30
+ * @package YITH
31
  * @since 1.0
32
  * @author Your Inspiration Themes
33
  * @see WP_Internal_Pointers
65
  $this->_default_pointer['plugins'] = array(
66
  'screen_id' => 'plugins',
67
  'options' => array(
68
+ 'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">yithemes.com</a> %s
69
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
70
  __( 'Plugins Activated', 'yith-plugin-fw' ),
71
  __( 'From now on, you can find all plugin options in YITH Plugins menu.
79
  $this->_default_pointer['update'] = array(
80
  'screen_id' => 'update',
81
  'options' => array(
82
+ 'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">yithemes.com</a> %s
83
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
84
  __( 'Plugins Upgraded', 'yith-plugin-fw' ),
85
  __( 'From now on, you can find the option panel of YITH plugins in YITH Plugins menu.
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -18,7 +18,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
18
  * Notify and Update plugin
19
  *
20
  * @class YIT_Upgrade
21
- * @package Yithemes
22
  * @since 1.0
23
  * @author Your Inspiration Themes
24
  * @see WP_Updater Class
@@ -620,12 +620,14 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
620
  //Get license for YITH Plugins
621
  $enabled_license = YIT_Plugin_Licence()->get_licence();
622
 
623
- if( isset( $enabled_license[ $slug ]['licence_key'] ) ){
624
- $license = $enabled_license[ $slug ]['licence_key'];
625
- }
 
626
 
627
- if( isset( $enabled_license[ $slug ]['is_membership'] ) ){
628
- $is_membership_license = $enabled_license[ $slug ]['is_membership'];
 
629
  }
630
  }
631
 
18
  * Notify and Update plugin
19
  *
20
  * @class YIT_Upgrade
21
+ * @package YITH
22
  * @since 1.0
23
  * @author Your Inspiration Themes
24
  * @see WP_Updater Class
620
  //Get license for YITH Plugins
621
  $enabled_license = YIT_Plugin_Licence()->get_licence();
622
 
623
+ if( false !== $enabled_license[ $slug ]['activated'] ){
624
+ if( isset( $enabled_license[ $slug ]['licence_key'] ) ){
625
+ $license = $enabled_license[ $slug ]['licence_key'];
626
+ }
627
 
628
+ if( isset( $enabled_license[ $slug ]['is_membership'] ) ){
629
+ $is_membership_license = $enabled_license[ $slug ]['is_membership'];
630
+ }
631
  }
632
  }
633
 
plugin-fw/lib/yit-video.php CHANGED
@@ -20,7 +20,7 @@ if ( ! class_exists( 'YIT_Video' ) ) {
20
  * Class to manage the video from youtube and vimeo or other services
21
  *
22
  * @class YIT_Video
23
- * @package Yithemes
24
  * @since 1.0.0
25
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
26
  *
20
  * Class to manage the video from youtube and vimeo or other services
21
  *
22
  * @class YIT_Video
23
+ * @package YITH
24
  * @since 1.0.0
25
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
26
  *
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Licence' ) ) {
19
  * Setting Page to Manage Products
20
  *
21
  * @class YIT_Licence
22
- * @package Yithemes
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
19
  * Setting Page to Manage Products
20
  *
21
  * @class YIT_Licence
22
+ * @package YITH
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Licence
22
- * @package Yithemes
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Plugin_Licence
22
+ * @package YITH
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
plugin-fw/licence/lib/yit-theme-licence.php CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Theme_Licence' ) ) {
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Theme_Licence
22
- * @package Yithemes
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
19
  * Setting Page to Manage Plugins
20
  *
21
  * @class YIT_Theme_Licence
22
+ * @package YITH
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
plugin-fw/licence/templates/panel/activation/activation-panel.php CHANGED
@@ -56,7 +56,7 @@ $debug = isset( $_REQUEST[ 'yith-license-debug' ] ) ? $_
56
  <?php echo $this->display_product_name( $info[ 'Name' ] ) ?>
57
  </td>
58
  <td>
59
- <input type="email" name="email" placeholder="Your email on Yithemes.com" value="" class="user-email"/>
60
  </td>
61
  <td>
62
  <input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key"/>
56
  <?php echo $this->display_product_name( $info[ 'Name' ] ) ?>
57
  </td>
58
  <td>
59
+ <input type="email" name="email" placeholder="Your email on yithemes.com" value="" class="user-email"/>
60
  </td>
61
  <td>
62
  <input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key"/>
plugin-fw/templates/metaboxes/types/icon-list.php CHANGED
@@ -11,7 +11,7 @@
11
  /**
12
  * Awesome Icon Admin View
13
  *
14
- * @package Yithemes
15
  * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
16
  * @since 1.0.0
17
  */
11
  /**
12
  * Awesome Icon Admin View
13
  *
14
+ * @package YITH
15
  * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
16
  * @since 1.0.0
17
  */
plugin-fw/templates/panel/panel-field-container.php CHANGED
@@ -11,7 +11,7 @@
11
  /**
12
  * Field Container for YIT Panel
13
  *
14
- * @package Yithemes
15
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
16
  * @since 3.0.0
17
  */
11
  /**
12
  * Field Container for YIT Panel
13
  *
14
+ * @package YITH
15
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
16
  * @since 3.0.0
17
  */
plugin-fw/templates/panel/woocommerce/woocommerce-upload.php CHANGED
@@ -11,7 +11,7 @@
11
  /**
12
  * Upload Plugin Admin View
13
  *
14
- * @package Yithemes
15
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
16
  * @since 1.0.0
17
  */
11
  /**
12
  * Upload Plugin Admin View
13
  *
14
+ * @package YITH
15
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
16
  * @since 1.0.0
17
  */
plugin-fw/yit-plugin.php CHANGED
@@ -144,7 +144,7 @@ if( ! function_exists( 'yit_plugin_fw_row_meta' ) ){
144
 
145
  else{
146
  if( isset( $base_uri[ $field ] ) ) {
147
- $url = $base_uri[ $field ] . $slug;
148
  }
149
  }
150
  }
144
 
145
  else{
146
  if( isset( $base_uri[ $field ] ) ) {
147
+ $url = apply_filters( "yith_plugin_row_meta_{$field}_url", $base_uri[ $field ] . $slug, $field, $slug, $base_uri );
148
  }
149
  }
150
  }