X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/d3947bc013df7edd54b46deed8230d2eeafc5ecb..a9fa37e08fa731c7bd108a175c24876823bc071b:/wp-includes/feed.php diff --git a/wp-includes/feed.php b/wp-includes/feed.php index feb690d8..7b1f30c7 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -630,10 +630,11 @@ function feed_content_type( $type = '' ) { $type = get_default_feed(); $types = array( - 'rss' => 'application/rss+xml', - 'rss2' => 'application/rss+xml', - 'atom' => 'application/atom+xml', - 'rdf' => 'application/rdf+xml' + 'rss' => 'application/rss+xml', + 'rss2' => 'application/rss+xml', + 'rss-http' => 'text/xml', + 'atom' => 'application/atom+xml', + 'rdf' => 'application/rdf+xml' ); $content_type = ( !empty($types[$type]) ) ? $types[$type] : 'application/octet-stream';