Escape title. Props GamerZ. fixes #9540
git-svn-id: http://svn.automattic.com/wordpress/trunk@10936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4478013975
commit
ba31bedcae
|
@ -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