From 2c719f44200eaf57a2b31e6cf09a79d354c75572 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 22 May 2011 23:19:12 +0000 Subject: [PATCH] Use esc_url() once again. git-svn-id: https://develop.svn.wordpress.org/trunk@17993 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 0898385244..3452f093f7 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) . "'"; }