Changeset 1356
- Timestamp:
- 02/28/2015 12:19:07 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
r1354 r1356 52 52 function drawThemeDownloadsChart() { 53 53 jQuery(document).ready(function($){ 54 $.getJSON('https://api.wordpress.org/stats/themes/1.0/downloads.php?slug=<?php echo $slug; ?>&limit= 730&callback=?', function (downloads) {54 $.getJSON('https://api.wordpress.org/stats/themes/1.0/downloads.php?slug=<?php echo $slug; ?>&limit=365&callback=?', function (downloads) { 55 55 var data = new google.visualization.DataTable(), 56 56 count = 0; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r1337 r1356 158 158 'parent' => true, 159 159 ) ); 160 // $request['cache_buster'] =1; 160 161 $args = wp_parse_args( $request, array( 161 162 'per_page' => 20, … … 214 215 function wporg_themes_ajax_prepare_theme( $theme ) { 215 216 global $themes_allowedtags; 216 217 217 if ( empty( $themes_allowedtags ) ) { 218 218 $themes_allowedtags = array( -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js
r1355 r1356 393 393 var self = this; 394 394 395 $.getJSON( 'https://api.wordpress.org/stats/themes/1.0/downloads.php?slug=' + self.model.get( 'id' ) + '&limit= 730&callback=?', function( downloads ) {395 $.getJSON( 'https://api.wordpress.org/stats/themes/1.0/downloads.php?slug=' + self.model.get( 'id' ) + '&limit=365&callback=?', function( downloads ) { 396 396 var data = new google.visualization.DataTable(), 397 397 count = 0;
Note: See TracChangeset
for help on using the changeset viewer.