diff --git a/classes/fields/number.php b/classes/fields/number.php index 7ef797c27e..46eb020d1e 100644 --- a/classes/fields/number.php +++ b/classes/fields/number.php @@ -291,7 +291,7 @@ public function regex ( $value = null, $name = null, $options = null, $pod = nul $dot = ','; } else { - $thousands = $wp_locale->number_format[ 'thousands_sep' ]; + $thousands = html_entity_decode( $wp_locale->number_format['thousands_sep'] ); $dot = $wp_locale->number_format[ 'decimal_point' ]; } @@ -336,7 +336,7 @@ public function validate ( $value, $name = null, $options = null, $fields = null $dot = ','; } else { - $thousands = $wp_locale->number_format[ 'thousands_sep' ]; + $thousands = html_entity_decode( $wp_locale->number_format['thousands_sep'] ); $dot = $wp_locale->number_format[ 'decimal_point' ]; } @@ -391,7 +391,7 @@ public function pre_save ( $value, $id = null, $name = null, $options = null, $f $dot = ','; } else { - $thousands = $wp_locale->number_format[ 'thousands_sep' ]; + $thousands = html_entity_decode( $wp_locale->number_format['thousands_sep'] ); $dot = $wp_locale->number_format[ 'decimal_point' ]; }