From 1bd67cf3b4d52f71b5a6c144bd480e05e7715144 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 2 May 2008 17:25:54 +0000 Subject: [PATCH] Fix send_to_editor escaping. Props Glotzfisch. fixes #6898 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@7874 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 3dbe0753a5..60fdd83ef8 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -55,7 +55,7 @@ function get_image_send_to_editor($id, $alt, $title, $align, $url='', $rel = fal $rel = $rel ? ' rel="attachment wp-att-'.attribute_escape($id).'"' : ''; if ( $url ) - $html = "$html"; + $html = '$html"; $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url, $size );