Correct option name

This commit is contained in:
Mike Jolley 2016-01-18 10:24:59 +00:00
parent 141414f048
commit e86a159fd0
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ class WC_Admin_Setup_Wizard {
$currency = get_option( 'woocommerce_currency', 'GBP' );
$currency_pos = get_option( 'woocommerce_currency_pos', 'left' );
$decimal_sep = get_option( 'woocommerce_price_decimal_sep', '.' );
$num_decimals = get_option( 'woocommerce_price_num_decimals', '.' );
$num_decimals = get_option( 'woocommerce_price_num_decimals', '2' );
$thousand_sep = get_option( 'woocommerce_price_thousand_sep', ',' );
$dimension_unit = get_option( 'woocommerce_dimension_unit', 'cm' );
$weight_unit = get_option( 'woocommerce_weight_unit', 'kg' );
@ -340,7 +340,7 @@ class WC_Admin_Setup_Wizard {
</td>
</tr>
<tr>
<th scope="row"><label for="num_decimals"><?php _e( 'Number Decimal', 'woocommerce' ); ?></label></th>
<th scope="row"><label for="num_decimals"><?php _e( 'Number of Decimals', 'woocommerce' ); ?></label></th>
<td>
<input type="text" id="num_decimals" name="num_decimals" size="2" value="<?php echo esc_attr( $num_decimals ) ; ?>" />
</td>