API: thousand and decimal separators corrected

This commit is contained in:
Keijo Hyttinen 2016-01-19 20:24:26 +02:00
parent 44eac248b3
commit a16b1bbac4
1 changed files with 2 additions and 2 deletions

View File

@ -454,8 +454,8 @@ class WC_API_Server {
'currency' => get_woocommerce_currency(),
'currency_format' => get_woocommerce_currency_symbol(),
'currency_position' => get_option( 'woocommerce_currency_pos' ),
'thousand_separator' => get_option( 'woocommerce_price_decimal_sep' ),
'decimal_separator' => get_option( 'woocommerce_price_thousand_sep' ),
'thousand_separator' => get_option( 'woocommerce_price_thousand_sep' ),
'decimal_separator' => get_option( 'woocommerce_price_decimal_sep' ),
'price_num_decimals' => wc_get_price_decimals(),
'tax_included' => wc_prices_include_tax(),
'weight_unit' => get_option( 'woocommerce_weight_unit' ),