WordPress.org

Make WordPress Core

Ticket #10713: 10713.diff

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

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

  • wp-includes/feed.php

     
    540540        $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) ); 
    541541        do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) ); 
    542542        $feed->init(); 
     543    $feed->set_output_encoding(get_option('blog_charset')); 
    543544        $feed->handle_content_type(); 
    544545 
    545546        if ( $feed->error() )