[wp-trac] [WordPress Trac] #22140: fetch_feed parameter is misdocumented
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 9 16:05:39 UTC 2012
#22140: fetch_feed parameter is misdocumented
-----------------------------+-------------------------
Reporter: tlovett1 | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Feeds
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+-------------------------
The fetch_feed function in wp-includes/feed.php is documented to allow one
parameter of type string. fetch_feed passes that parameter to the
set_feed_url method of a newly created SimplePie object. However,
set_feed_url can accept a URL string or an array of URL's. Therefore,
fetch_feed should be documented as having one parameter of mixed type
(string OR array).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22140>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list