X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..a7cd4c052013b423c6301153f68c7fdbaa2a447b:/wp-includes/rss.php?ds=sidebyside diff --git a/wp-includes/rss.php b/wp-includes/rss.php index ab6ead0f..a7c43f44 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -247,7 +247,7 @@ class MagpieRSS { } elseif ($this->feed_type == ATOM and $this->incontent ) { // balance tags properly - // note: i don't think this is actually neccessary + // note: This may not actually be necessary if ( $this->stack[0] == $el ) { $this->append_content(""); @@ -579,8 +579,8 @@ function _fetch_remote_file($url, $headers = "" ) { * @package External * @subpackage MagpieRSS * - * @param unknown_type $resp - * @return unknown + * @param array $resp + * @return MagpieRSS|bool */ function _response_to_rss ($resp) { $rss = new MagpieRSS( $resp->results ); @@ -724,7 +724,7 @@ class RSSCache { Function: set Purpose: add an item to the cache, keyed on url Input: url from wich the rss file was fetched - Output: true on sucess + Output: true on success \*=======================================================================*/ function set ($url, $rss) { $cache_option = 'rss_' . $this->file_name( $url );