From 7564d59d474a50d923bc065fba838c36480ed1b8 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 25 Apr 2008 17:58:38 +0000 Subject: [PATCH] Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@7838 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }