Make WordPress Core

Changeset 26975


Ignore:
Timestamp:
01/17/2014 09:52:05 AM (10 years ago)
Author:
nacin
Message:

Use the_title_attribute() in feed_links_extra(), rather than get_the_title().

props c3mdigital.
fixes #15046.

File:
1 edited

Legend:

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

    r26933 r26975  
    17031703
    17041704        if ( comments_open() || pings_open() || $post->comment_count > 0 ) {
    1705             $title = sprintf( $args['singletitle'], get_bloginfo('name'), $args['separator'], esc_html( get_the_title() ) );
     1705            $title = sprintf( $args['singletitle'], get_bloginfo('name'), $args['separator'], the_title_attribute( array( 'echo' => false ) ) );
    17061706            $href = get_post_comments_feed_link( $post->ID );
    17071707        }
Note: See TracChangeset for help on using the changeset viewer.