diff --git a/readme.txt b/readme.txt index eaf06bcfa57..95e14118ade 100644 --- a/readme.txt +++ b/readme.txt @@ -172,6 +172,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Tweak - Added filter to check the 'Create account' checkbox on checkout by default * Tweak - Update CPT parameters for 'product_variation' and 'shop_coupon' to be no longer public * Tweak - COD processing instead of on-hold +* Tweak - Added filter to explicitly hide terms agreement checkbox * Fix - Cast term_id as int in product data write panel that will resolve issues with numerical attributes * Fix - Correct label for RUB symbol - added a dot after it * Fix - Javascript escapes to stop breaking scripts when used with translations diff --git a/templates/checkout/review-order.php b/templates/checkout/review-order.php index ec3d005acfe..5a3fcd87a1a 100644 --- a/templates/checkout/review-order.php +++ b/templates/checkout/review-order.php @@ -194,12 +194,12 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); echo apply_filters('woocommerce_order_button_html', '' ); ?> - 0) : ?> -

- - id="terms" /> -

- + 0 && apply_filters( 'woocommerce_checkout_show_terms', true ) ) { ?> +

+ + id="terms" /> +

+