Changeset 3315555
- Timestamp:
- 06/21/2025 06:15:19 AM (9 months ago)
- Location:
- woocommerce-compare-products/trunk
- Files:
-
- 3 edited
-
classes/class-wc-compare-filter.php (modified) (4 diffs)
-
compare_products.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-compare-products/trunk/classes/class-wc-compare-filter.php
r3311329 r3315555 139 139 extract($woo_compare_grid_view_settings); 140 140 if ($template_name == 'loop/add-to-cart.php') { 141 if ( ! ( $product instanceof WC_Product) ) {141 if ( ! is_a( $product, 'WC_Product' ) ) { 142 142 return; 143 143 } … … 167 167 168 168 extract($woo_compare_grid_view_settings); 169 if ( ! ( $product instanceof WC_Product) ) {169 if ( ! is_a( $product, 'WC_Product' ) ) { 170 170 return; 171 171 } … … 190 190 global $woo_compare_comparison_page_global_settings; 191 191 global $product_compare_id; 192 if ( ! ( $product instanceof WC_Product) ) {192 if ( ! is_a( $product, 'WC_Product' ) ) { 193 193 return; 194 194 } … … 237 237 global $product_compare_id; 238 238 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' ) ) { 240 240 return; 241 241 } -
woocommerce-compare-products/trunk/compare_products.php
r3311329 r3315555 3 3 Plugin Name: Compare Products for WooCommerce 4 4 Description: 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. 35 Version: 3.2.4 6 6 Requires at least: 6.0 7 7 Tested up to: 6.8.1 … … 37 37 define( 'WOOCP_KEY', 'woo_compare' ); 38 38 define( 'WOOCP_PREFIX', 'wc_compare_' ); 39 define( 'WOOCP_VERSION', '3.2. 3' );39 define( 'WOOCP_VERSION', '3.2.4' ); 40 40 define( 'WOOCP_G_FONTS', true ); 41 41 -
woocommerce-compare-products/trunk/readme.txt
r3311329 r3315555 4 4 Requires at least: 6.0 5 5 Tested up to: 6.8.1 6 Stable tag: 3.2. 36 Stable tag: 3.2.4 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 100 100 101 101 == 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 102 106 103 107 = 3.2.3 - 2025/06/14 = … … 780 784 == Upgrade Notice == 781 785 786 = 3.2.4 = 787 This maintenance release has 1 bug fix 788 782 789 = 3.2.3 = 783 790 This 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.