WordPress 4.5.1
[autoinstalls/wordpress.git] / wp-includes / feed.php
index feb690d8dac9c66d9018e71183ceeef0f031b7f5..7b1f30c78a4928a3ad29f0a39bf055f10f5e60b4 100644 (file)
@@ -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';