WordPress.org

Make WordPress Core

Ticket #9689: 9689.2.patch

File 9689.2.patch, 406 bytes (added by hakre, 6 years ago)

Propper SimplePie Configuration to not auto-locate (which can fail)

  • wp-includes/feed.php

     
    550550        $feed->set_cache_class('WP_Feed_Cache'); 
    551551        $feed->set_file_class('WP_SimplePie_File'); 
    552552        $feed->set_cache_duration(43200); 
     553        $feed->force_feed(true); 
    553554        $feed->init(); 
    554555        $feed->handle_content_type(); 
    555556