Merge pull request #761 from noelspringer/woocommerce-template-update

Update Woocommerce form-coupon template to 3.4.4
This commit is contained in:
Holger 2018-08-16 16:10:15 +02:00 committed by GitHub
commit f39b101f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -12,12 +12,12 @@
* *
* @see https://docs.woocommerce.com/document/template-structure/ * @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates * @package WooCommerce/Templates
* @version 3.4.0 * @version 3.4.4
*/ */
defined( 'ABSPATH' ) || exit; defined( 'ABSPATH' ) || exit;
if ( ! wc_coupons_enabled() || ! empty( WC()->cart->applied_coupons ) ) { // @codingStandardsIgnoreLine. if ( ! wc_coupons_enabled() ) { // @codingStandardsIgnoreLine.
return; return;
} }