Use esc_url() once again.

git-svn-id: https://develop.svn.wordpress.org/trunk@17993 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-05-22 23:19:12 +00:00
parent 79b7818f15
commit 2c719f4420
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) . "'";
}