Missing = in label for product_length

This commit is contained in:
Lucas Stark 2013-03-14 14:19:51 -03:00
parent cc08e376bc
commit c6b8384563
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ function woocommerce_product_data_box() {
// Size fields
if( get_option( 'woocommerce_enable_dimensions', true ) !== 'no' ) :
?><p class="form-field dimensions_field">
<label for"product_length"><?php echo __( 'Dimensions', 'woocommerce' ) . ' (' . get_option( 'woocommerce_dimension_unit' ) . ')'; ?></label>
<label for="product_length"><?php echo __( 'Dimensions', 'woocommerce' ) . ' (' . get_option( 'woocommerce_dimension_unit' ) . ')'; ?></label>
<span class="wrap">
<input id="product_length" placeholder="<?php _e( 'Length', 'woocommerce' ); ?>" class="input-text" size="6" type="number" name="_length" value="<?php echo esc_attr( get_post_meta( $thepostid, '_length', true ) ); ?>" step="any" min="0" />
<input placeholder="<?php _e( 'Width', 'woocommerce' ); ?>" class="input-text" size="6" type="number" name="_width" value="<?php echo esc_attr( get_post_meta( $thepostid, '_width', true ) ); ?>" step="any" min="0" />
@ -1071,4 +1071,4 @@ function woocommerce_product_data_visibility() {
<?php
}
add_action( 'post_submitbox_misc_actions', 'woocommerce_product_data_visibility' );
add_action( 'post_submitbox_misc_actions', 'woocommerce_product_data_visibility' );