Quantcast
Channel: WordPress › Support » Topic: Broken Feeds Since WP upgrade to 3.5.1
Viewing all articles
Browse latest Browse all 5

ePhil on "Broken Feeds Since WP upgrade to 3.5.1"

$
0
0

Hey guys I have an answer: when writing headers in wp-includes/feed-rss2.php, Wordpress adds automatically 5 lines before the XML begins, producing a non-standard feed.
Just modify this line to make it work fine:

----from
header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);

----to
header('Content-Type:'.feed_content_type('rss-http').';charset='.get_option('blog_charset'),true);

if it doesn't work, try commenting the line.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images