WordPress.org

Make WordPress Core

Changeset 10936


Ignore:
Timestamp:
04/15/09 17:12:31 (5 years ago)
Author:
ryan
Message:

Escape title. Props GamerZ. fixes #9540

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r10815 r10936  
    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} 
Note: See TracChangeset for help on using the changeset viewer.