X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/784f914b1e4b1c62d6657e86397c2e83bcee4295..446fc046ca303b25776b07134407239bdeafa3e6:/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';