Use text/xml for rss feeds for best browser compat. Props Denis-de-Bernardy. fixes #9810

git-svn-id: http://svn.automattic.com/wordpress/trunk@11334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-14 21:21:31 +00:00
parent e1fac77dca
commit a1f614654d
1 changed files with 2 additions and 2 deletions

View File

@ -523,8 +523,8 @@ function feed_content_type( $type = '' ) {
$type = get_default_feed();
$types = array(
'rss' => 'application/rss+xml',
'rss2' => 'application/rss+xml',
'rss' => 'text/xml',
'rss2' => 'text/xml',
'atom' => 'application/atom+xml',
'rdf' => 'application/rdf+xml',
);