Merge pull request #4506 from thenbrent/master

Fix order discount input label "for" attribute
This commit is contained in:
Mike Jolley 2014-01-14 09:14:48 -08:00
commit 617d6dbd76
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class WC_Meta_Box_Order_Totals {
<?php endif; ?>
<div class="totals_group">
<h4><label for="_order_total"><?php _e( 'Order Discount', 'woocommerce' ); ?></label></h4>
<h4><label for="_order_discount"><?php _e( 'Order Discount', 'woocommerce' ); ?></label></h4>
<input type="text" class="wc_input_price" id="_order_discount" name="_order_discount" placeholder="<?php echo wc_format_localized_price( 0 ); ?>" value="<?php
if ( isset( $data['_order_discount'][0] ) )
echo esc_attr( wc_format_localized_price( $data['_order_discount'][0] ) );