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:
parent
41b24b77f3
commit
378932c255
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user