X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f..16e7b37c7914d753890c1a05a9335f3b43751eb8:/wp-includes/feed-rss2.php diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php index f7da5f2a..a7b9ac7e 100644 --- a/wp-includes/feed-rss2.php +++ b/wp-includes/feed-rss2.php @@ -5,13 +5,13 @@ * @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); $more = 1; echo ''; /** - * Fires between the and tags in a feed. + * Fires between the xml and rss tags in a feed. * * @since 4.0.0 * @@ -38,36 +38,41 @@ do_action( 'rss_tag_pre', 'rss2' ); > - <?php bloginfo_rss('name'); wp_title_rss(); ?> + <?php wp_title_rss(); ?> - + - - - - + + <?php the_title_rss() ?> + + ]]> @@ -98,8 +105,10 @@ do_action( 'rss_tag_pre', 'rss2' ); ]]> + +