Plugin Directory

Changeset 3315553


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

Release new version 3.4.3

  • This maintenance release has 1 bug fix
  • Fix - Correct product variable is WC_Product class object type
  • Credit - Thanks to raratiru for raising the translation issue on wordpress.org support forum
Location:
woocommerce-email-inquiry-cart-options/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-email-inquiry-cart-options/trunk/classes/class-wc-email-inquiry-hook.php

    r3310410 r3315553  
    3838        global $product;
    3939        if ($template_name == 'loop/add-to-cart.php') {
    40             if ( ! ( $product instanceof WC_Product ) ) {
     40            if ( ! is_a( $product, 'WC_Product' ) ) {
    4141                return;
    4242            }
     
    8686        global $product;
    8787        if ($template_name == 'loop/add-to-cart.php') {
    88             if ( ! ( $product instanceof WC_Product ) ) {
     88            if ( ! is_a( $product, 'WC_Product' ) ) {
    8989                return;
    9090            }
     
    100100        global $post, $product;
    101101
    102         if ( ! ( $product instanceof WC_Product ) ) {
     102        if ( ! is_a( $product, 'WC_Product' ) ) {
    103103            return;
    104104        }
     
    114114        global $post, $product;
    115115
    116         if ( ! ( $product instanceof WC_Product ) ) {
     116        if ( ! is_a( $product, 'WC_Product' ) ) {
    117117            return;
    118118        }
     
    128128        global $product;
    129129
    130         if ( ! ( $product instanceof WC_Product ) ) {
     130        if ( ! is_a( $product, 'WC_Product' ) ) {
    131131            return;
    132132        }
     
    142142        global $product;
    143143
    144         if ( ! ( $product instanceof WC_Product ) ) {
     144        if ( ! is_a( $product, 'WC_Product' ) ) {
    145145            return $add_to_cart;
    146146        }
     
    159159        if ( $template_name == 'single-product/add-to-cart/quantity.php' ) {
    160160
    161             if ( ! ( $product instanceof WC_Product ) ) {
     161            if ( ! is_a( $product, 'WC_Product' ) ) {
    162162                return;
    163163            }
     
    175175        if ( $template_name == 'single-product/add-to-cart/quantity.php' ) {
    176176
    177             if ( ! ( $product instanceof WC_Product ) ) {
     177            if ( ! is_a( $product, 'WC_Product' ) ) {
    178178                return;
    179179            }
     
    331331        global $product;
    332332        if ( $template_name == 'loop/add-to-cart.php' ) {
    333             if ( ! ( $product instanceof WC_Product ) ) {
     333            if ( ! is_a( $product, 'WC_Product' ) ) {
    334334                return;
    335335            }
     
    348348        global $wc_email_inquiry_customize_email_button_settings;
    349349
    350         if ( ! ( $product instanceof WC_Product ) ) {
     350        if ( ! is_a( $product, 'WC_Product' ) ) {
    351351            return;
    352352        }
     
    365365        global $product;
    366366
    367         if ( ! ( $product instanceof WC_Product ) ) {
     367        if ( ! is_a( $product, 'WC_Product' ) ) {
    368368            return;
    369369        }
     
    392392        global $product;
    393393
    394         if ( ! ( $product instanceof WC_Product ) ) {
     394        if ( ! is_a( $product, 'WC_Product' ) ) {
    395395            return;
    396396        }
  • woocommerce-email-inquiry-cart-options/trunk/includes/wc-qo-product-addons-compatibility.php

    r3310410 r3315553  
    2424    global $product;
    2525
    26     if ( ! ( $product instanceof WC_Product ) ) {
     26    if ( ! is_a( $product, 'WC_Product' ) ) {
    2727        return $price_for_display;
    2828    }
  • woocommerce-email-inquiry-cart-options/trunk/readme.txt

    r3310410 r3315553  
    44Requires at least: 6.0
    55Tested up to: 6.8.1
    6 Stable tag: 3.4.2
     6Stable tag: 3.4.3
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    132132
    133133== Changelog ==
     134
     135= 3.4.3 - 2025/06/21 =
     136* This maintenance release has 1 bug fix
     137* Fix - Correct product variable is WC_Product class object type
     138* Credit - Thanks to raratiru for raising the translation issue on wordpress.org support forum
    134139
    135140= 3.4.2 - 2025/06/12 =
     
    803808== Upgrade Notice ==
    804809
     810= 3.4.3 =
     811This maintenance release has 1 bug fix
     812
    805813= 3.4.2 =
    806814This maintenance release has 1 bug fix and compatibility with WordPress 6.8.1 and WooCommerce 9.9.3
  • woocommerce-email-inquiry-cart-options/trunk/woocommerce-email-inquiry-cart-options.php

    r3310410 r3315553  
    33Plugin Name: Email Inquiry & Cart Options for WooCommerce
    44Description: Transform your entire WooCommerce products catalog or any individual product into an online brochure with Product Email Inquiry button and pop-up email form. Add product email inquiry functionality to any product either with WooCommerce functionality or hide that functionality and the page becomes a brochure.
    5 Version: 3.4.2
     5Version: 3.4.3
    66Requires at least: 6.0
    77Tested up to: 6.8.1
     
    4040define( 'WC_EMAIL_INQUIRY_KEY', 'wc_email_inquiry' );
    4141define( 'WC_EMAIL_INQUIRY_PREFIX', 'wc_ei_' );
    42 define( 'WC_EMAIL_INQUIRY_VERSION',  '3.4.2' );
     42define( 'WC_EMAIL_INQUIRY_VERSION',  '3.4.3' );
    4343define( 'WC_EMAIL_INQUIRY_G_FONTS', true );
    4444
Note: See TracChangeset for help on using the changeset viewer.