Make WordPress Core


Ignore:
Timestamp:
05/14/2009 09:21:31 PM (18 years ago)
Author:
ryan
Message:

Use text/xml for rss feeds for best browser compat. Props Denis-de-Bernardy. fixes #9810

File:
1 edited

Legend:

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

    r11204 r11334  
    524524
    525525        $types = array(
    526                 'rss'  => 'application/rss+xml',
    527                 'rss2' => 'application/rss+xml',
     526                'rss'  => 'text/xml',
     527                'rss2' => 'text/xml',
    528528                'atom' => 'application/atom+xml',
    529529                'rdf'  => 'application/rdf+xml',
Note: See TracChangeset for help on using the changeset viewer.