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
This commit is contained in:
parent
bf908fe2f1
commit
d892f1f557
@ -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',
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user