WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/22/2010 09:39:37 PM (9 years ago)
Author:
westi
Message:

Restore support for floating point numbers in number_format_i18n(). Fixes #10555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r14184 r14190  
    4444    typenow = '<?php if ( isset($current_screen->post_type) ) echo $current_screen->post_type; ?>',
    4545    adminpage = '<?php echo $admin_body_class; ?>',
    46     thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>';
     46    thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
     47    decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>';
    4748//]]>
    4849</script>
Note: See TracChangeset for help on using the changeset viewer.