From d68baaaff7e464a780f23beea7bb95b8098fb16b Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 19 Oct 2017 23:04:03 +1030 Subject: [PATCH 1/5] 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 ); ?> From d9dafe925f2cfe53c0321d6c1188c9ddb5ad447c Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 19 Oct 2017 23:04:38 +1030 Subject: [PATCH 2/5] Update for Woocommerce 3.2.1 Compatibility --- woocommerce/global/quantity-input.php | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) 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 ) { + ?> + + +
    + + +
    + -
    - -
    From 64a81a46fb0f4c8ba844a00cbbd0c1ec1f7c1124 Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 19 Oct 2017 23:05:15 +1030 Subject: [PATCH 3/5] Update for Woocommerce 3.2.1 Compatibility --- woocommerce/myaccount/downloads.php | 67 +++-------------------------- 1 file changed, 5 insertions(+), 62 deletions(-) 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'] ) . ''; - } - } - ?> - -
    + + +
    From 3479a9a8c66982925e913ba8ecb1932851c8d4f4 Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 19 Oct 2017 23:05:43 +1030 Subject: [PATCH 4/5] Update for Woocommerce 3.2.1 Compatibility --- woocommerce/myaccount/form-login.php | 32 ++++++++++++---------------- 1 file changed, 14 insertions(+), 18 deletions(-) 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' ) ) {

    -