diff --git a/woocommerce/cart/cart-empty.php b/woocommerce/cart/cart-empty.php index fd722cb..d01b640 100644 --- a/woocommerce/cart/cart-empty.php +++ b/woocommerce/cart/cart-empty.php @@ -10,19 +10,14 @@ * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * - * @see https://docs.woocommerce.com/document/template-structure/ - * @author WooThemes + * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce/Templates - * @version 3.1.0 + * @version 3.5.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly -} +defined( 'ABSPATH' ) || exit; -wc_print_notices(); - -/** +/* * @hooked wc_empty_cart_message - 10 */ do_action( 'woocommerce_cart_is_empty' ); @@ -30,7 +25,7 @@ do_action( 'woocommerce_cart_is_empty' ); if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php index 2b4efc5..ee0ad99 100644 --- a/woocommerce/cart/cart.php +++ b/woocommerce/cart/cart.php @@ -12,13 +12,11 @@ * * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce/Templates - * @version 3.4.0 + * @version 3.5.0 */ defined( 'ABSPATH' ) || exit; -wc_print_notices(); - do_action( 'woocommerce_before_cart' ); ?>