WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/19/2009 05:04:58 AM (13 years ago)
Author:
azaozz
Message:

Add support for automatic feed links in themes, props Viper007Bond, see #8878

File:
1 edited

Legend:

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

    r6493 r10377  
    66 */
    77
    8 header('Content-Type: text/xml; 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.