From d892f1f5573491a40e3e3c91d94945a1e007395e Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11334 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 2744947405..bc094d524c 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', );