Escape title. Props GamerZ. fixes #9540

git-svn-id: https://develop.svn.wordpress.org/trunk@10936 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-15 17:12:31 +00:00
parent 41b24b77f3
commit 378932c255
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_
* @return string
*/
function get_index_rel_link() {
$link = "<link rel='index' title='" . get_bloginfo('name') . "' href='" . get_bloginfo('siteurl') . "' />\n";
$link = "<link rel='index' title='" . attribute_escape(get_bloginfo('name')) . "' href='" . get_bloginfo('siteurl') . "' />\n";
return apply_filters( "index_rel_link", $link );
}