Fix - ' in prices (thousand separator)
This commit is contained in:
parent
12b28c1f09
commit
165863e292
|
@ -150,6 +150,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Fix - Put chosen frontend script back
|
||||
* Fix - Make download links use billing email, not user email
|
||||
* Localization - Spanish update by Héctor Carranza
|
||||
* Fix - ' in prices (thousand separator)
|
||||
|
||||
= 1.5.2.1 - 16/03/2012 =
|
||||
* Fix - Redirect when no payment is required
|
||||
|
|
|
@ -248,7 +248,7 @@ function woocommerce_price( $price, $args = array() ) {
|
|||
$num_decimals = (int) get_option('woocommerce_price_num_decimals');
|
||||
$currency_pos = get_option('woocommerce_currency_pos');
|
||||
$currency_symbol = get_woocommerce_currency_symbol();
|
||||
$price = number_format( (double) $price, $num_decimals, get_option('woocommerce_price_decimal_sep'), get_option('woocommerce_price_thousand_sep') );
|
||||
$price = number_format( (double) $price, $num_decimals, stripslashes(get_option('woocommerce_price_decimal_sep')), stripslashes(get_option('woocommerce_price_thousand_sep')) );
|
||||
|
||||
if (get_option('woocommerce_price_trim_zeros')=='yes' && $num_decimals>0) :
|
||||
$price = woocommerce_trim_zeros($price);
|
||||
|
|
Loading…
Reference in New Issue