Changeset 7576

Show
Ignore:
Timestamp:
03/30/08 16:42:20 (7 months ago)
Author:
markjaquith
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.5/wp-includes/media.php

    r7520 r7576  
    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