Making WordPress.org


Ignore:
Timestamp:
02/28/2015 12:19:07 PM (10 years ago)
Author:
Otto42
Message:

Fix the width of the downloads graph so as not to cut off the latest results. Fixes #903

File:
1 edited

Legend:

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

    r1354 r1356  
    5252                    function drawThemeDownloadsChart() {
    5353                        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) {
    5555                                var data = new google.visualization.DataTable(),
    5656                                    count = 0;
Note: See TracChangeset for help on using the changeset viewer.