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 ); ?> diff --git a/woocommerce/global/quantity-input.php b/woocommerce/global/quantity-input.php index 37b5bbd..bd50f96 100644 --- a/woocommerce/global/quantity-input.php +++ b/woocommerce/global/quantity-input.php @@ -13,13 +13,24 @@ * @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; // Exit if accessed directly + exit; +} + +if ( $max_value && $min_value === $max_value ) { + ?> + + +
    + + +
    + -
    - -
    diff --git a/woocommerce/myaccount/downloads.php b/woocommerce/myaccount/downloads.php index e7856ed..ff6b095 100644 --- a/woocommerce/myaccount/downloads.php +++ b/woocommerce/myaccount/downloads.php @@ -1,7 +1,7 @@ - - - - $column_name ) : ?> - - - - - - - $column_name ) : ?> - - - - -
    - - - - - - - - - - - - - - - - array( - 'url' => $download['download_url'], - 'name' => __( 'Download', 'woocommerce' ), - ), - ); - if ( $actions = apply_filters( 'woocommerce_account_download_actions', $actions, $download ) ) { - foreach ( $actions as $key => $action ) { - echo '' . esc_html( $action['name'] ) . ''; - } - } - ?> - -
    + + +
    diff --git a/woocommerce/myaccount/form-login.php b/woocommerce/myaccount/form-login.php index 0753487..6014fec 100644 --- a/woocommerce/myaccount/form-login.php +++ b/woocommerce/myaccount/form-login.php @@ -13,7 +13,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' ) ) { @@ -36,17 +36,17 @@ if ( ! defined( 'ABSPATH' ) ) {

    -