From 117d0818122a98b85b65673d69a2d8a0789ab855 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 22 May 2011 23:19:12 +0000 Subject: [PATCH] Use esc_url() once again. git-svn-id: http://svn.automattic.com/wordpress/trunk@17993 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/press-this.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 089838524..3452f093f 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -225,7 +225,7 @@ if ( !empty($_REQUEST['ajax']) ) { $src = 'http://'.str_replace('//','/', $host['host'].'/'.$src); else $src = 'http://'.str_replace('//','/', $host['host'].'/'.dirname($host['path']).'/'.$src); - $sources[] = esc_attr($src); + $sources[] = esc_url($src); } return "'" . implode("','", $sources) . "'"; }