YITH WooCommerce Ajax Product Filter - Version 2.0.2

Version Description

  • Fixed: Empty filters appear after update to 2.0.0
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -66,6 +66,10 @@ After renaming the files, you can update/translate the .po file following the cl
66
 
67
  == Changelog ==
68
 
 
 
 
 
69
  = 2.0.1 =
70
 
71
  * Fixed: Unable to active plugin
4
  Tags: woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 2.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 2.0.2 =
70
+
71
+ * Fixed: Empty filters appear after update to 2.0.0
72
+
73
  = 2.0.1 =
74
 
75
  * Fixed: Unable to active plugin
includes/class.yith-wcan-admin.php CHANGED
@@ -250,15 +250,18 @@ if( !class_exists( 'YITH_WCAN_Admin' ) ) {
250
 
251
  $plugin_name = __( 'YITH WooCommerce Ajax Product Filter', 'yith_wc_ajxnav' );
252
 
 
 
253
  $args = array();
254
  foreach ( array( 'plugins', 'update' ) as $screen ) {
255
  $args[] = array(
256
  'screen_id' => $screen,
257
  'pointer_id' => 'yith_wcan_panel',
258
  'target' => '#toplevel_page_yit_plugin_panel',
259
- 'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
260
  $plugin_name,
261
- $message
 
262
  ),
263
  'position' => array( 'edge' => 'left', 'align' => 'center' ),
264
  'init' => YITH_WCAN_FREE_INIT
250
 
251
  $plugin_name = __( 'YITH WooCommerce Ajax Product Filter', 'yith_wc_ajxnav' );
252
 
253
+ $premium_message = sprintf('%s, <a href="%s" target"_blank">%s</a>.', __('YITH WooCommerce Product Filter has been updated with new available options', 'yith_wc_ajxnav' ), $this->_premium_landing, __( 'discover the PREMIUM version', 'yith_wc_ajxnav' ) );
254
+
255
  $args = array();
256
  foreach ( array( 'plugins', 'update' ) as $screen ) {
257
  $args[] = array(
258
  'screen_id' => $screen,
259
  'pointer_id' => 'yith_wcan_panel',
260
  'target' => '#toplevel_page_yit_plugin_panel',
261
+ 'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p>%s</p>',
262
  $plugin_name,
263
+ $message,
264
+ $premium_message
265
  ),
266
  'position' => array( 'edge' => 'left', 'align' => 'center' ),
267
  'init' => YITH_WCAN_FREE_INIT
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Navigation allows user to filter products in Shop page without reloading the page.
6
- * Version: 2.0.1
7
  * Author: yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith_wc_ajxnav
@@ -65,7 +65,7 @@ if ( defined( 'YITH_WCAN_VERSION' ) ) {
65
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
66
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
67
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
68
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.0.1' );
69
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
70
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
71
 
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Navigation allows user to filter products in Shop page without reloading the page.
6
+ * Version: 2.0.2
7
  * Author: yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith_wc_ajxnav
65
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
66
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
67
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
68
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.0.2' );
69
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
70
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
71
 
widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -69,7 +69,7 @@ class YITH_WCAN_Navigation_Widget extends WP_Widget {
69
 
70
  ob_start();
71
 
72
- $found = true;
73
 
74
  echo $before_widget;
75
 
69
 
70
  ob_start();
71
 
72
+ $found = false;
73
 
74
  echo $before_widget;
75