Version Description
Released on 24 Aug 2021
- Fix: fatal error "Call to undefined method YITH_Woocompare_Admin::list_products_html()"
- Update: YITH plugin framework
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Compare |
Version | 2.5.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.5.4 to 2.5.4.1
- init.php +3 -3
- readme.txt +6 -1
- widgets/class.yith-woocompare-widget.php +4 -0
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
* Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
-
* Version: 2.5.4
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-compare
|
@@ -13,7 +13,7 @@
|
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Compare
|
16 |
-
* @version 2.5.4
|
17 |
*/
|
18 |
|
19 |
/*
|
@@ -75,7 +75,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
|
75 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
76 |
|
77 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ) {
|
78 |
-
define( 'YITH_WOOCOMPARE_VERSION', '2.5.4' );
|
79 |
}
|
80 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
81 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
* Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 2.5.4.1
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-compare
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Compare
|
16 |
+
* @version 2.5.4.1
|
17 |
*/
|
18 |
|
19 |
/*
|
75 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
76 |
|
77 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ) {
|
78 |
+
define( 'YITH_WOOCOMPARE_VERSION', '2.5.4.1' );
|
79 |
}
|
80 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
81 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: yith, woocommerce compare, compare products, product compare, product comparison
|
5 |
Requires at least: 5.6
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 2.5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -66,6 +66,11 @@ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
|
|
69 |
= 2.5.4 = Released on 13 Aug 2021
|
70 |
|
71 |
* New: support for WooCommerce 5.6
|
4 |
Tags: yith, woocommerce compare, compare products, product compare, product comparison
|
5 |
Requires at least: 5.6
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 2.5.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 2.5.4.1 = Released on 24 Aug 2021
|
70 |
+
|
71 |
+
* Fix: fatal error "Call to undefined method YITH_Woocompare_Admin::list_products_html()"
|
72 |
+
* Update: YITH plugin framework
|
73 |
+
|
74 |
= 2.5.4 = Released on 13 Aug 2021
|
75 |
|
76 |
* New: support for WooCommerce 5.6
|
widgets/class.yith-woocompare-widget.php
CHANGED
@@ -31,6 +31,10 @@ if( !class_exists( 'YITH_WOOCOMPARE' ) ) {
|
|
31 |
function widget( $args, $instance ) {
|
32 |
global $yith_woocompare;
|
33 |
|
|
|
|
|
|
|
|
|
34 |
/**
|
35 |
* WPML Support
|
36 |
*/
|
31 |
function widget( $args, $instance ) {
|
32 |
global $yith_woocompare;
|
33 |
|
34 |
+
if ( ! $yith_woocompare->obj instanceof YITH_Woocompare_Frontend ){
|
35 |
+
return;
|
36 |
+
}
|
37 |
+
|
38 |
/**
|
39 |
* WPML Support
|
40 |
*/
|