Make WordPress Core

Changeset 7575


Ignore:
Timestamp:
03/30/2008 04:41:43 PM (17 years ago)
Author:
markjaquith
Message:

Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r7520 r7575  
    325325        if ( is_array($size) )
    326326            $size = join('x', $size);
    327         $html = '<img src="'.attribute_escape($src).'" '.$hwstring.'class="attachment-'.attribute_escape($size).'" />';
     327        $html = '<img src="'.attribute_escape($src).'" '.$hwstring.'class="attachment-'.attribute_escape($size).'" alt="" />';
    328328    }
    329329   
     
    410410
    411411    $output .= "
    412             <br style='clear: both;' >
     412            <br style='clear: both;' />
    413413        </div>\n";
    414414
Note: See TracChangeset for help on using the changeset viewer.