Make WordPress Core


Ignore:
Timestamp:
05/09/2015 06:38:38 AM (8 years ago)
Author:
wonderboymusic
Message:

Serve RSS feeds with the proper mime-type: application/rss+xml. The reason for hacking around browsers by using text/xml appears to no longer be relevant.

Props @chriscct7.
Reverts [11334] and [11358]
Fixes #15110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-rss.php

    r25880 r32468  
    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
Note: See TracChangeset for help on using the changeset viewer.