Changeset 9127

Show
Ignore:
Timestamp:
10/12/08 18:03:54 (3 months ago)
Author:
westi
Message:

Default to an empty alt attribute on Avatars. Fixes #7536.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/pluggable.php

    r9084 r9127  
    14631463 
    14641464    if ( false === $alt) 
    1465         $alt = __( 'Avatar' )
    1466  
    1467     $safe_alt = attribute_escape( $alt ); 
     1465        $safe_alt = ''
     1466    else 
     1467       $safe_alt = attribute_escape( $alt ); 
    14681468 
    14691469    if ( !is_numeric($size) )