| 1 | Index: wp-includes/media.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/media.php (revision 7573) |
|---|
| 4 | +++ wp-includes/media.php (working copy) |
|---|
| 5 | @@ -324,7 +324,7 @@ |
|---|
| 6 | $hwstring = image_hwstring($width, $height); |
|---|
| 7 | if ( is_array($size) ) |
|---|
| 8 | $size = join('x', $size); |
|---|
| 9 | - $html = '<img src="'.attribute_escape($src).'" '.$hwstring.'class="attachment-'.attribute_escape($size).'" />'; |
|---|
| 10 | + $html = '<img src="'.attribute_escape($src).'" '.$hwstring.'class="attachment-'.attribute_escape($size).'" alt="" />'; |
|---|
| 11 | } |
|---|
| 12 | |
|---|
| 13 | return $html; |
|---|
| 14 | @@ -409,7 +409,7 @@ |
|---|
| 15 | } |
|---|
| 16 | |
|---|
| 17 | $output .= " |
|---|
| 18 | - <br style='clear: both;' > |
|---|
| 19 | + <br style='clear: both;' /> |
|---|
| 20 | </div>\n"; |
|---|
| 21 | |
|---|
| 22 | return $output; |
|---|