From 0474a02663771a63599156a08586d638fb1c9227 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 30 Jan 2009 13:50:08 +0000 Subject: [PATCH] Ensure get_the_title() is escaped in feed links, props Viper007Bond, fixes #8878 git-svn-id: https://develop.svn.wordpress.org/trunk@10467 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index d1bbfc54ec..2138522d18 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1436,7 +1436,7 @@ function feed_links_extra( $args ) { if ( is_single() || is_page() ) { $post = &get_post( $id = 0 ); if ( comments_open() || pings_open() || $post->comment_count > 0 ) - echo '\n"; + echo '\n"; } elseif ( is_category() ) {