Ticket #6806: 6806.001.diff

File 6806.001.diff, 674 bytes (added by AaronCampbell, 4 years ago)
  • trunk/wp-includes/media.php

     
    9999        $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.'" />'; 
    100100 
    101101        $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 ); 
    103103 
    104104        return $html; 
    105105}