WordPress.org

Make WordPress Core

Ticket #15110: rss-mime.patch

File rss-mime.patch, 908 bytes (added by singpolyma, 8 years ago)

Patch I've used to fix this

  • (a) oldrss vs. (b) feed-rss.php

    a b  
    55 * @package WordPress
    66 */
    77
    8 header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
     8header('Content-Type: ' . feed_content_type('rss') . '; charset=' . get_option('blog_charset'), true);
    99$more = 1;
    1010
    1111echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
  • (a) oldrss2 vs. (b) feed-rss2.php

    a b  
    55 * @package WordPress
    66 */
    77
    8 header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
     8header('Content-Type: ' . feed_content_type('rss2') . '; charset=' . get_option('blog_charset'), true);
    99$more = 1;
    1010
    1111echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>