Ticket #15110: rss-mime.patch
File rss-mime.patch, 908 bytes (added by , 14 years ago) |
---|
-
(a) oldrss vs. (b) feed-rss.php
a b 5 5 * @package WordPress 6 6 */ 7 7 8 header('Content-Type: ' . feed_content_type('rss -http') . '; charset=' . get_option('blog_charset'), true);8 header('Content-Type: ' . feed_content_type('rss') . '; charset=' . get_option('blog_charset'), true); 9 9 $more = 1; 10 10 11 11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> -
(a) oldrss2 vs. (b) feed-rss2.php
a b 5 5 * @package WordPress 6 6 */ 7 7 8 header('Content-Type: ' . feed_content_type('rss -http') . '; charset=' . get_option('blog_charset'), true);8 header('Content-Type: ' . feed_content_type('rss2') . '; charset=' . get_option('blog_charset'), true); 9 9 $more = 1; 10 10 11 11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>