From 713216192b64c6996a854198ad3167a9be334c52 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 2 Jul 2008 22:40:52 +0000 Subject: [PATCH] Clean image urls in get_images_from_uri(). see #7220 git-svn-id: https://develop.svn.wordpress.org/trunk@8240 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 39cc86a0ad..56d5a27479 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -199,7 +199,7 @@ if($_REQUEST['ajax'] == 'photo_images') { else $src = 'http://'.str_replace('//','/', $host['host'].'/'.$host['path'].'/'.$src); - $sources[] = $src; + $sources[] = clean_url($src); } return "'" . implode("','", $sources) . "'"; }