Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant.
Props @chriscct7. Reverts [11334] and [11358] Fixes #15110. Built from https://develop.svn.wordpress.org/trunk@32468 git-svn-id: http://core.svn.wordpress.org/trunk@32438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2251a28f1d
commit
3ec1d3bf9d
|
@ -5,7 +5,7 @@
|
|||
* @package WordPress
|
||||
*/
|
||||
|
||||
header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
|
||||
header('Content-Type: ' . feed_content_type('rss') . '; charset=' . get_option('blog_charset'), true);
|
||||
$more = 1;
|
||||
|
||||
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @package WordPress
|
||||
*/
|
||||
|
||||
header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
|
||||
header('Content-Type: ' . feed_content_type('rss2') . '; charset=' . get_option('blog_charset'), true);
|
||||
|
||||
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @package WordPress
|
||||
*/
|
||||
|
||||
header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
|
||||
header('Content-Type: ' . feed_content_type('rss2') . '; charset=' . get_option('blog_charset'), true);
|
||||
$more = 1;
|
||||
|
||||
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32467';
|
||||
$wp_version = '4.3-alpha-32468';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue