Make WordPress Core

Changeset 9127


Ignore:
Timestamp:
10/12/2008 06:03:54 PM (16 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) )
Note: See TracChangeset for help on using the changeset viewer.