Ticket #10713: 10713.diff

File 10713.diff, 513 bytes (added by MikeHansenMe, 5 months ago)

refreshed based on previous patch - relative to root and new lines changed

Line 
1Index: wp-includes/feed.php
2===================================================================
3--- wp-includes/feed.php        (revision 23176)
4+++ wp-includes/feed.php        (working copy)
5@@ -540,6 +540,7 @@
6        $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) );
7        do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) );
8        $feed->init();
9+    $feed->set_output_encoding(get_option('blog_charset'));
10        $feed->handle_content_type();
11 
12        if ( $feed->error() )