Make WordPress Core


Ignore:
Timestamp:
03/03/2009 05:41:01 PM (16 years ago)
Author:
ryan
Message:

Use WordPress HTTP class for SimplePie requests. Props DD32. fixes #9247

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r10671 r10687  
    549549    $feed->set_feed_url($url);
    550550    $feed->set_cache_class('WP_Feed_Cache');
     551    $feed->set_file_class('WP_SimplePie_File');
    551552    $feed->set_cache_duration(43200);
    552     $feed->set_useragent('WordPress/' . $GLOBALS['wp_version']);
    553553    $feed->init();
    554554    $feed->handle_content_type();
     
    559559    return $feed;
    560560}
    561 
    562 ?>
Note: See TracChangeset for help on using the changeset viewer.