WordPress.org

Make WordPress Core

Ticket #15110: 15510.patch

File 15510.patch, 1.6 KB (added by chriscct7, 4 years ago)
  • wp-includes/feed-rss.php

     
    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').'"?'.'>'; ?>
  • wp-includes/feed-rss2-comments.php

     
    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
    1010echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
    1111
  • wp-includes/feed-rss2.php

     
    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').'"?'.'>';