WordPress.org

Make WordPress Core

Changeset 5845


Ignore:
Timestamp:
08/03/07 01:39:36 (10 years ago)
Author:
markjaquith
Message:

function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547

File:
1 edited

Legend:

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

    r5776 r5845  
    378378require_once( dirname(__FILE__) . '/class-snoopy.php'); 
    379379 
     380if ( !function_exists('fetch_rss') ) : 
    380381function fetch_rss ($url) { 
    381382    // initialize constants 
     
    504505    } // end if ( !MAGPIE_CACHE_ON ) { 
    505506} // end fetch_rss() 
     507endif; 
    506508 
    507509function _fetch_remote_file ($url, $headers = "" ) { 
Note: See TracChangeset for help on using the changeset viewer.