Changeset 3315553
- Timestamp:
- 06/21/2025 06:11:32 AM (9 months ago)
- Location:
- woocommerce-email-inquiry-cart-options/trunk
- Files:
-
- 4 edited
-
classes/class-wc-email-inquiry-hook.php (modified) (12 diffs)
-
includes/wc-qo-product-addons-compatibility.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
woocommerce-email-inquiry-cart-options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-email-inquiry-cart-options/trunk/classes/class-wc-email-inquiry-hook.php
r3310410 r3315553 38 38 global $product; 39 39 if ($template_name == 'loop/add-to-cart.php') { 40 if ( ! ( $product instanceof WC_Product) ) {40 if ( ! is_a( $product, 'WC_Product' ) ) { 41 41 return; 42 42 } … … 86 86 global $product; 87 87 if ($template_name == 'loop/add-to-cart.php') { 88 if ( ! ( $product instanceof WC_Product) ) {88 if ( ! is_a( $product, 'WC_Product' ) ) { 89 89 return; 90 90 } … … 100 100 global $post, $product; 101 101 102 if ( ! ( $product instanceof WC_Product) ) {102 if ( ! is_a( $product, 'WC_Product' ) ) { 103 103 return; 104 104 } … … 114 114 global $post, $product; 115 115 116 if ( ! ( $product instanceof WC_Product) ) {116 if ( ! is_a( $product, 'WC_Product' ) ) { 117 117 return; 118 118 } … … 128 128 global $product; 129 129 130 if ( ! ( $product instanceof WC_Product) ) {130 if ( ! is_a( $product, 'WC_Product' ) ) { 131 131 return; 132 132 } … … 142 142 global $product; 143 143 144 if ( ! ( $product instanceof WC_Product) ) {144 if ( ! is_a( $product, 'WC_Product' ) ) { 145 145 return $add_to_cart; 146 146 } … … 159 159 if ( $template_name == 'single-product/add-to-cart/quantity.php' ) { 160 160 161 if ( ! ( $product instanceof WC_Product) ) {161 if ( ! is_a( $product, 'WC_Product' ) ) { 162 162 return; 163 163 } … … 175 175 if ( $template_name == 'single-product/add-to-cart/quantity.php' ) { 176 176 177 if ( ! ( $product instanceof WC_Product) ) {177 if ( ! is_a( $product, 'WC_Product' ) ) { 178 178 return; 179 179 } … … 331 331 global $product; 332 332 if ( $template_name == 'loop/add-to-cart.php' ) { 333 if ( ! ( $product instanceof WC_Product) ) {333 if ( ! is_a( $product, 'WC_Product' ) ) { 334 334 return; 335 335 } … … 348 348 global $wc_email_inquiry_customize_email_button_settings; 349 349 350 if ( ! ( $product instanceof WC_Product) ) {350 if ( ! is_a( $product, 'WC_Product' ) ) { 351 351 return; 352 352 } … … 365 365 global $product; 366 366 367 if ( ! ( $product instanceof WC_Product) ) {367 if ( ! is_a( $product, 'WC_Product' ) ) { 368 368 return; 369 369 } … … 392 392 global $product; 393 393 394 if ( ! ( $product instanceof WC_Product) ) {394 if ( ! is_a( $product, 'WC_Product' ) ) { 395 395 return; 396 396 } -
woocommerce-email-inquiry-cart-options/trunk/includes/wc-qo-product-addons-compatibility.php
r3310410 r3315553 24 24 global $product; 25 25 26 if ( ! ( $product instanceof WC_Product) ) {26 if ( ! is_a( $product, 'WC_Product' ) ) { 27 27 return $price_for_display; 28 28 } -
woocommerce-email-inquiry-cart-options/trunk/readme.txt
r3310410 r3315553 4 4 Requires at least: 6.0 5 5 Tested up to: 6.8.1 6 Stable tag: 3.4. 26 Stable tag: 3.4.3 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 132 132 133 133 == 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 134 139 135 140 = 3.4.2 - 2025/06/12 = … … 803 808 == Upgrade Notice == 804 809 810 = 3.4.3 = 811 This maintenance release has 1 bug fix 812 805 813 = 3.4.2 = 806 814 This 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 3 3 Plugin Name: Email Inquiry & Cart Options for WooCommerce 4 4 Description: 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. 25 Version: 3.4.3 6 6 Requires at least: 6.0 7 7 Tested up to: 6.8.1 … … 40 40 define( 'WC_EMAIL_INQUIRY_KEY', 'wc_email_inquiry' ); 41 41 define( 'WC_EMAIL_INQUIRY_PREFIX', 'wc_ei_' ); 42 define( 'WC_EMAIL_INQUIRY_VERSION', '3.4. 2' );42 define( 'WC_EMAIL_INQUIRY_VERSION', '3.4.3' ); 43 43 define( 'WC_EMAIL_INQUIRY_G_FONTS', true ); 44 44
Note: See TracChangeset
for help on using the changeset viewer.