From a16b1bbac48b343743f8e153358b3f36292c2209 Mon Sep 17 00:00:00 2001 From: Keijo Hyttinen Date: Tue, 19 Jan 2016 20:24:26 +0200 Subject: [PATCH] API: thousand and decimal separators corrected --- includes/api/class-wc-api-server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/api/class-wc-api-server.php b/includes/api/class-wc-api-server.php index 3a86ba1eb27..12a21e96d35 100644 --- a/includes/api/class-wc-api-server.php +++ b/includes/api/class-wc-api-server.php @@ -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' ),