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
This commit is contained in:
Ryan Boren 2008-07-02 22:40:52 +00:00
parent 45ac770299
commit 713216192b

View File

@ -199,7 +199,7 @@ if($_REQUEST['ajax'] == 'photo_images') {
else else
$src = 'http://'.str_replace('//','/', $host['host'].'/'.$host['path'].'/'.$src); $src = 'http://'.str_replace('//','/', $host['host'].'/'.$host['path'].'/'.$src);
$sources[] = $src; $sources[] = clean_url($src);
} }
return "'" . implode("','", $sources) . "'"; return "'" . implode("','", $sources) . "'";
} }