From d68baaaff7e464a780f23beea7bb95b8098fb16b Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 19 Oct 2017 23:04:03 +1030 Subject: [PATCH] Update for Woocommerce 3.2.1 Compatibility --- woocommerce/cart/mini-cart.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/woocommerce/cart/mini-cart.php b/woocommerce/cart/mini-cart.php index 18a76a8..f7679de 100644 --- a/woocommerce/cart/mini-cart.php +++ b/woocommerce/cart/mini-cart.php @@ -15,7 +15,7 @@ * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates - * @version 3.1.0 + * @version 3.2.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; @@ -42,10 +42,11 @@ do_action( 'woocommerce_before_mini_cart' ); ?>
  • ×', + '×', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), - esc_attr__( 'Remove this item', 'woocommerce' ), + __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), + esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key ); ?>