WordPress.org

Make WordPress Core

Ticket #11117: 11117_1.patch

File 11117_1.patch, 561 bytes (added by nacin, 9 years ago)
  • feed.php

     
    522522        $feed->set_feed_url($url);
    523523        $feed->set_cache_class('WP_Feed_Cache');
    524524        $feed->set_file_class('WP_SimplePie_File');
    525         $feed->set_cache_duration(apply_filters('wp_feed_cache_transient_lifetime', 43200));
     525        $feed->set_cache_duration(apply_filters('wp_feed_cache_transient_lifetime', 43200, $url));
     526        do_action('wp_feed_options', $feed, $url);
    526527        $feed->init();
    527528        $feed->handle_content_type();
    528529