WordPress.org

Make WordPress Core

Changeset 37284


Ignore:
Timestamp:
04/21/2016 07:28:00 PM (4 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

Merges [37282] to the 4.5 branch.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

  • branches/4.5/src/wp-includes/feed.php

    r36232 r37284  
    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.