From a1f614654d25117d580f4f963ed46e01f9d9dc62 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 14 May 2009 21:21:31 +0000 Subject: [PATCH] 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 --- wp-includes/feed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index 274494740..bc094d524 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -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', );