WordPress.org

Plugin Directory

Changeset 632009


Ignore:
Timestamp:
11/29/12 22:05:40 (17 months ago)
Author:
andy
Message:

Jetpack: add time zone to stats gif query string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/stats.php

    r627154 r632009  
    118118 
    119119    $blog = Jetpack::get_option( 'id' ); 
     120    $tz = get_option( 'gmt_offset' ); 
    120121    $v = 'ext'; 
    121122    $j = sprintf( '%s:%s', JETPACK__API_VERSION, JETPACK__VERSION ); 
     
    141142    $week = gmdate( 'YW' ); 
    142143 
    143     $data = stats_array( compact( 'v', 'j', 'blog', 'post' ) ); 
     144    $data = stats_array( compact( 'v', 'j', 'blog', 'post', 'tz' ) ); 
    144145 
    145146    $stats_footer = <<<END 
Note: See TracChangeset for help on using the changeset viewer.