Changeset 1278
- Timestamp:
- 02/18/2015 06:30:58 PM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
r1274 r1278 93 93 } 94 94 </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> 96 96 </div><!-- .theme-downloads --> 97 97 </div><!-- .theme-info --> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r1274 r1278 186 186 $theme->version = wp_kses( $theme->version, $themes_allowedtags ); 187 187 $theme->description = wp_kses( $theme->description, $themes_allowedtags ); 188 $theme->downloaded = number_format_i18n( $theme->downloaded ); 188 189 $theme->num_ratings = number_format_i18n( $theme->num_ratings ); 189 190 $theme->preview_url = set_url_scheme( $theme->preview_url ); … … 210 211 $theme->version = wp_kses( $theme->version, $themes_allowedtags ); 211 212 $theme->description = wp_kses( $theme->description, $themes_allowedtags ); 213 $theme->downloaded = number_format_i18n( $theme->downloaded ); 212 214 $theme->num_ratings = number_format_i18n( $theme->num_ratings ); 213 215 $theme->preview_url = set_url_scheme( $theme->preview_url ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
r1273 r1278 50 50 <h4><?php _e( 'Downloads Per Day' ); ?></h4> 51 51 <div id="theme-download-stats-{{data.id}}" class="chart"></div> 52 <p class="total-downloads"><?php printf( __( 'Total downloads: %s' ), '<strong>{{ new Number(data.downloaded).toLocaleString()}}</strong>' ); ?></p>52 <p class="total-downloads"><?php printf( __( 'Total downloads: %s' ), '<strong>{{ data.downloaded }}</strong>' ); ?></p> 53 53 </div><!-- .theme-downloads --> 54 54 </div>
Note: See TracChangeset
for help on using the changeset viewer.