Use esc_url() once again.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-05-24 15:51:20 +00:00
parent 17ba8a49f5
commit 9428fe6b04
1 changed files with 1 additions and 1 deletions

View File

@ -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) . "'";
}