X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..refs/tags/wordpress-4.4:/wp-includes/feed-rss2-comments.php diff --git a/wp-includes/feed-rss2-comments.php b/wp-includes/feed-rss2-comments.php index a8a1c13b..f05bb8f7 100644 --- a/wp-includes/feed-rss2-comments.php +++ b/wp-includes/feed-rss2-comments.php @@ -5,9 +5,12 @@ * @package WordPress */ -header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); +header('Content-Type: ' . feed_content_type('rss2') . '; charset=' . get_option('blog_charset'), true); echo ''; + +/** This action is documented in wp-includes/feed-rss2.php */ +do_action( 'rss_tag_pre', 'rss2-comments' ); ?> '; elseif ( is_search() ) printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); else - printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) . get_wp_title_rss() ); + printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); ?> - - - - + +