Make WordPress Core


Ignore:
Timestamp:
05/16/2009 05:15:21 AM (15 years ago)
Author:
ryan
Message:

Fix feed autodiscovery. Props peaceablewhale. fixes #9810

File:
1 edited

Legend:

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

    r11334 r11358  
    524524
    525525    $types = array(
    526         'rss'  => 'text/xml',
    527         'rss2' => 'text/xml',
     526        'rss'  => 'application/rss+xml',
     527        'rss2' => 'application/rss+xml',
     528        'rss-http'  => 'text/xml',
    528529        'atom' => 'application/atom+xml',
    529         'rdf'  => 'application/rdf+xml',
     530        'rdf'  => 'application/rdf+xml'
    530531    );
    531532
Note: See TracChangeset for help on using the changeset viewer.