Merge pull request #2722 from lucasstark/patch-5
Missing = in label for product_length
This commit is contained in:
commit
38c7c8994f
|
@ -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" />
|
||||
|
@ -1085,4 +1085,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' );
|
||||
|
|
Loading…
Reference in New Issue