WordPress.org

Make WordPress Core

Ticket #9540: index_rel_link.patch

File index_rel_link.patch, 587 bytes (added by GamerZ, 9 years ago)
  • wp-includes/link-template.php

     
    10941094 * @return string
    10951095 */
    10961096function get_index_rel_link() {
    1097         $link = "<link rel='index' title='" . get_bloginfo('name') . "' href='" . get_bloginfo('siteurl') . "' />\n";
     1097        $link = "<link rel='index' title='" . attribute_escape(get_bloginfo('name')) . "' href='" . get_bloginfo('siteurl') . "' />\n";
    10981098        return apply_filters( "index_rel_link", $link );
    10991099}
    11001100