Update form-coupon template to 3.4.4

This commit is contained in:
Noel Springer 2018-08-05 02:51:37 +10:00
parent acb4fcb186
commit 14f199b250
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;
} }