Make WordPress Core


Ignore:
Timestamp:
05/06/2009 04:56:32 AM (15 years ago)
Author:
ryan
Message:

Escape title attributes in calendar links. fixes #8967

File:
1 edited

Legend:

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

    r11204 r11215  
    10771077        foreach ( (array) $ak_post_titles as $ak_post_title ) {
    10781078
    1079                 $post_title = apply_filters( "the_title", $ak_post_title->post_title );
    1080                 $post_title = str_replace('"', '"', wptexturize( $post_title ));
     1079                $post_title = esc_attr( apply_filters( 'the_title', $ak_post_title->post_title ) );
    10811080
    10821081                if ( empty($ak_titles_for_day['day_'.$ak_post_title->dom]) )
Note: See TracChangeset for help on using the changeset viewer.