Ticket #6806: 6806.001.diff
| File 6806.001.diff, 0.7 kB (added by AaronCampbell, 6 months ago) |
|---|
-
trunk/wp-includes/media.php
old new 99 99 $html = '<img src="'.attribute_escape($img_src).'" alt="'.attribute_escape($alt).'" title="'.attribute_escape($title).'" '.$hwstring.'class="align'.attribute_escape($align).' size-'.attribute_escape($size).' wp-image-'.$id.'" />'; 100 100 101 101 $url = ''; 102 $html = apply_filters( ' image_send_to_editor', $html, $id, $alt, $title, $align, $url, $size );102 $html = apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $url, $size ); 103 103 104 104 return $html; 105 105 }
