Plugin Directory

Changeset 3315555


Ignore:
Timestamp:
06/21/2025 06:15:19 AM (9 months ago)
Author:
a3rev
Message:

Release new version 3.2.4

  • This maintenance release has 1 bug fix
  • Fix - Correct product variable is WC_Product class object type
Location:
woocommerce-compare-products/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-compare-products/trunk/classes/class-wc-compare-filter.php

    r3311329 r3315555  
    139139        extract($woo_compare_grid_view_settings);
    140140        if ($template_name == 'loop/add-to-cart.php') {
    141             if ( ! ( $product instanceof WC_Product ) ) {
     141            if ( ! is_a( $product, 'WC_Product' ) ) {
    142142                return;
    143143            }
     
    167167
    168168        extract($woo_compare_grid_view_settings);
    169         if ( ! ( $product instanceof WC_Product ) ) {
     169        if ( ! is_a( $product, 'WC_Product' ) ) {
    170170            return;
    171171        }
     
    190190        global $woo_compare_comparison_page_global_settings;
    191191        global $product_compare_id;
    192         if ( ! ( $product instanceof WC_Product ) ) {
     192        if ( ! is_a( $product, 'WC_Product' ) ) {
    193193            return;
    194194        }
     
    237237        global $product_compare_id;
    238238        if (in_array($template_name, array('single-product/add-to-cart/simple.php', 'single-product/add-to-cart/grouped.php', 'single-product/add-to-cart/external.php', 'single-product/add-to-cart/variable.php'))) {
    239             if ( ! ( $product instanceof WC_Product ) ) {
     239            if ( ! is_a( $product, 'WC_Product' ) ) {
    240240                return;
    241241            }
  • woocommerce-compare-products/trunk/compare_products.php

    r3311329 r3315555  
    33Plugin Name: Compare Products for WooCommerce
    44Description: Compare Products uses your existing WooCommerce Product Categories and Product Attributes to create Compare Product Features for all your products. A sidebar Compare basket is created that users add products to and view the Comparison in a Compare this pop-up screen.
    5 Version: 3.2.3
     5Version: 3.2.4
    66Requires at least: 6.0
    77Tested up to: 6.8.1
     
    3737define( 'WOOCP_KEY', 'woo_compare' );
    3838define( 'WOOCP_PREFIX', 'wc_compare_' );
    39 define( 'WOOCP_VERSION',  '3.2.3' );
     39define( 'WOOCP_VERSION',  '3.2.4' );
    4040define( 'WOOCP_G_FONTS',  true );
    4141
  • woocommerce-compare-products/trunk/readme.txt

    r3311329 r3315555  
    44Requires at least: 6.0
    55Tested up to: 6.8.1
    6 Stable tag: 3.2.3
     6Stable tag: 3.2.4
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    100100
    101101== Changelog ==
     102
     103= 3.2.4 - 2025/06/21 =
     104* This maintenance release has 1 bug fix
     105* Fix - Correct product variable is WC_Product class object type
    102106
    103107= 3.2.3 - 2025/06/14 =
     
    780784== Upgrade Notice ==
    781785
     786= 3.2.4 =
     787This maintenance release has 1 bug fix
     788
    782789= 3.2.3 =
    783790This maintenance release has 2 bug fixes and compatibility with WordPress 6.8.1 and WooCommerce 9.9.3
Note: See TracChangeset for help on using the changeset viewer.