WordPress.org

Plugin Directory

Changeset 583964


Ignore:
Timestamp:
08/10/12 16:36:29 (21 months ago)
Author:
andy
Message:

Jetpack: Stats: fix notice about undefined variable $alt

Location:
jetpack/trunk
Files:
2 edited

Legend:

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

    r580817 r583964  
    592592    $img_src_2x = esc_attr( add_query_arg( array( 'noheader'=>'', 'proxy'=>'', 'chart'=>'admin-bar-hours-scale-2x' ), $url ) ); 
    593593 
    594     $title = __( 'Views over 48 hours. Click for more Site Stats.', 'jetpack' ); 
     594    $alt = esc_attr( __( 'Stats', 'jetpack' ) ); 
     595 
     596    $title = esc_attr( __( 'Views over 48 hours. Click for more Site Stats.', 'jetpack' ) ); 
    595597 
    596598    $menu = array( 'id' => 'stats', 'title' => "<div><script type='text/javascript'>var src;if(typeof(window.devicePixelRatio)=='undefined'||window.devicePixelRatio<2){src='$img_src';}else{src='$img_src_2x';}document.write('<img src=\''+src+'\' alt=\'$alt\' title=\'$title\' />');</script></div>", 'href' => $url ); 
  • jetpack/trunk/readme.txt

    r583172 r583964  
    8181 
    8282= next = 
     83* Bug Fix: Stats: Fix notice about undefined variable $alt 
    8384* Bug Fix: Subscriptions: Make Subscriptions module obey the settings of the Settngs -> Discussion checkboxes for Follow Blog/Comments 
    8485 
Note: See TracChangeset for help on using the changeset viewer.