WordPress.org

Make WordPress Core

Changeset 7576


Ignore:
Timestamp:
03/30/08 16:42:20 (6 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

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