Making WordPress.org


Ignore:
Timestamp:
02/18/2015 06:30:58 PM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Consistent number formatting across browsers for download counts.

Filters the data coming in from the API, rather than manipulating it on the
front-end.

Fixes #846.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php

    r1274 r1278  
    9393                    }
    9494                </script>
    95                 <p class="total-downloads"><?php printf( __( 'Total downloads: %s' ), '<strong>' . number_format_i18n( $theme->downloaded ) . '</strong>' ); ?></p>
     95                <p class="total-downloads"><?php printf( __( 'Total downloads: %s' ), '<strong>' . $theme->downloaded . '</strong>' ); ?></p>
    9696            </div><!-- .theme-downloads -->
    9797        </div><!-- .theme-info -->
Note: See TracChangeset for help on using the changeset viewer.