From fa3370c044bddb3d64f8143c2a940e03aeeeb592 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sun, 18 Oct 2009 06:14:16 +0000 Subject: [PATCH] Properly escape filename when sending to editor, props hakre sivel, fixes #10252 git-svn-id: https://develop.svn.wordpress.org/trunk@12051 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 e3188c5e7c..a1ffee11a6 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -107,7 +107,7 @@ function get_image_send_to_editor($id, $alt, $title, $align, $url='', $rel = fal $rel = $rel ? ' rel="attachment wp-att-' . esc_attr($id).'"' : ''; if ( $url ) - $html = '$html"; + $html = '$html"; $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url, $size );