diff --git a/wp-includes/media.php b/wp-includes/media.php index f43a2f0ec..5a5dc8701 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -98,8 +98,7 @@ function get_image_tag($id, $alt, $title, $align, $size='medium') { $html = ''.attribute_escape($alt).''; - $url = ''; - $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url, $size ); + $html = apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size ); return $html; }