]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/feed-rss.php
Wizard 2.8.2-scripts
[autoinstalls/wordpress.git] / wp-includes / feed-rss.php
index fdeeed87deb3f965d82c8d5f64ba9985d92383ac..e5c2fe830a851d7102df0aadb9d0621bb7d3f19d 100644 (file)
@@ -5,11 +5,10 @@
  * @package WordPress
  */
 
-header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
+header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
 $more = 1;
 
-?>
-<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
 <?php the_generator( 'comment' ); ?>
 <rss version="0.92">
 <channel>