Make WordPress Core

Changeset 37282


Ignore:
Timestamp:
04/21/2016 06:56:37 PM (8 years ago)
Author:
johnbillion
Message:

Feeds: Revert [36230] which removed the rss-http feed content type. Removing this means that any feeds which are using this feed content type are now being served as application/octet-stream instead of text/xml.

See #36620

File:
1 edited

Legend:

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

    r36232 r37282  
    631631
    632632    $types = array(
    633         'rss'  => 'application/rss+xml',
    634         'rss2' => 'application/rss+xml',
    635         'atom' => 'application/atom+xml',
    636         'rdf'  => 'application/rdf+xml'
     633        'rss'      => 'application/rss+xml',
     634        'rss2'     => 'application/rss+xml',
     635        'rss-http' => 'text/xml',
     636        'atom'     => 'application/atom+xml',
     637        'rdf'      => 'application/rdf+xml'
    637638    );
    638639
Note: See TracChangeset for help on using the changeset viewer.