Advanced AJAX Product Filters - Version 1.4.2.1

Version Description

  • Enhancement - Compatibility WooCommerce Product Table 2.6
  • Fix - Fatal error with some plugins that call hooks incorrect
Download this release

Release Info

Developer RazyRx
Plugin Icon wp plugin Advanced AJAX Product Filters
Version 1.4.2.1
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.2.1

includes/addons/seo_meta_title.php CHANGED
@@ -101,7 +101,9 @@ if( ! class_exists('BeRocket_AAPF_addon_woocommerce_seo_title') ) {
101
  public $page_title = '';
102
  public $ready_elements = array('title' => false, 'description' => false, 'header' => false);
103
  function __construct() {
104
- add_action('plugins_loaded', array($this, 'plugins_loaded'), 99999999);
 
 
105
  }
106
  function plugins_loaded() {
107
  add_action('get_header', array($this, 'get_header'));
101
  public $page_title = '';
102
  public $ready_elements = array('title' => false, 'description' => false, 'header' => false);
103
  function __construct() {
104
+ if( ! is_admin() ) {
105
+ add_action('wp', array($this, 'plugins_loaded'), 99999999);
106
+ }
107
  }
108
  function plugins_loaded() {
109
  add_action('get_header', array($this, 'get_header'));
includes/compatibility/product-table.php CHANGED
@@ -15,9 +15,8 @@ class BeRocket_AAPF_compat_product_table {
15
  }
16
  }
17
  public static function plugins_loaded() {
18
- if( class_exists('WC_Product_Table_Plugin')
19
- && function_exists('WC_Product_Table')
20
- && version_compare(WC_Product_Table_Plugin::VERSION, '2.1.3', '>') ) {
21
  add_filter('aapf_localize_widget_script', array( __CLASS__, 'aapf_localize_widget_script' ));
22
  add_action( 'wc_product_table_get_table', array( __CLASS__, 'wc_product_table_get_table' ), 10, 1 );
23
  self::not_ajax_functions();
15
  }
16
  }
17
  public static function plugins_loaded() {
18
+ if( class_exists('WC_Product_Table_Plugin')
19
+ && ( !empty(Barn2\Plugin\WC_Product_Table\PLUGIN_VERSION) || version_compare(WC_Product_Table_Plugin::VERSION, '2.1.3', '>') ) ) {
 
20
  add_filter('aapf_localize_widget_script', array( __CLASS__, 'aapf_localize_widget_script' ));
21
  add_action( 'wc_product_table_get_table', array( __CLASS__, 'wc_product_table_get_table' ), 10, 1 );
22
  self::not_ajax_functions();
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://berocket.com/product/woocommerce-ajax-products-filter?utm_s
5
  Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
  Requires at least: 5.0
7
  Tested up to: 5.4
8
- Stable tag: 1.4.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -184,6 +184,10 @@ You can try this plugin's admin side [here](https://berocket.com/product/woocomm
184
 
185
  == Changelog ==
186
 
 
 
 
 
187
  = 1.4.2 =
188
  * Enhancement - Compatibility version: Wordpress 5.4 and WooCommerce 4.0
189
  * Enhancement - Compatibility with Math Rank SEO
5
  Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
  Requires at least: 5.0
7
  Tested up to: 5.4
8
+ Stable tag: 1.4.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
184
 
185
  == Changelog ==
186
 
187
+ = 1.4.2.1 =
188
+ * Enhancement - Compatibility WooCommerce Product Table 2.6
189
+ * Fix - Fatal error with some plugins that call hooks incorrect
190
+
191
  = 1.4.2 =
192
  * Enhancement - Compatibility version: Wordpress 5.4 and WooCommerce 4.0
193
  * Enhancement - Compatibility with Math Rank SEO
woocommerce-filters.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Advanced AJAX Product Filters for WooCommerce
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-ajax-filters/?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
5
  * Description: Unlimited AJAX products filters to make your shop perfect
6
- * Version: 1.4.2
7
  * Author: BeRocket
8
  * Requires at least: 5.0
9
  * Author URI: https://berocket.com?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
@@ -11,6 +11,6 @@
11
  * Domain Path: /languages/
12
  * WC tested up to: 4.0
13
  */
14
- define( "BeRocket_AJAX_filters_version", '1.4.2' );
15
  define( "BeRocket_AJAX_filters_file", __FILE__ );
16
  include_once('main.php');
3
  * Plugin Name: Advanced AJAX Product Filters for WooCommerce
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-ajax-filters/?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
5
  * Description: Unlimited AJAX products filters to make your shop perfect
6
+ * Version: 1.4.2.1
7
  * Author: BeRocket
8
  * Requires at least: 5.0
9
  * Author URI: https://berocket.com?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
11
  * Domain Path: /languages/
12
  * WC tested up to: 4.0
13
  */
14
+ define( "BeRocket_AJAX_filters_version", '1.4.2.1' );
15
  define( "BeRocket_AJAX_filters_file", __FILE__ );
16
  include_once('main.php');