From d1dac631201d82de34e44ad4306731db51ed4fcf Mon Sep 17 00:00:00 2001 From: Johan Nielsen Date: Mon, 19 Feb 2018 23:58:24 +0100 Subject: [PATCH] Deprecation notices --- woocommerce/cart/cart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php index e4d54c1..6332148 100644 --- a/woocommerce/cart/cart.php +++ b/woocommerce/cart/cart.php @@ -55,7 +55,7 @@ do_action( 'woocommerce_before_cart' ); ?> ×', - esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), + esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'understrap' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) @@ -84,7 +84,7 @@ do_action( 'woocommerce_before_cart' ); ?> } // Meta data - echo WC()->cart->get_item_data( $cart_item ); + echo wc_get_formatted_cart_item_data( $cart_item ); // Backorder notification if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) {