[wp-trac] [WordPress Trac] #22140: fetch_feed parameter is documented incorrectly

WordPress Trac noreply at wordpress.org
Sun Apr 7 01:17:18 UTC 2013


#22140: fetch_feed parameter is documented incorrectly
-------------------------+-----------------------
 Reporter:  tlovett1     |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.6
Component:  Inline Docs  |     Version:  2.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by rmccue):

 Replying to [comment:11 nacin]:
 > Okay, but let's tweak it a bit. Maybe something like:
 >
 >  @param mixed $url URL of feed to retrieve. If an array of URLs, the
 feeds are merged using SimplePie's multifeed feature. See also {@link
 http://simplepie.org/wiki/faq/typical_multifeed_gotchas}.
 >
 > The "see also" is optional.

 Sounds good.

 Patch looks OK, but `$url` is used in the documentation, whereas `$urls`
 is used in the prototype. The see also has to also be on the same line
 (from memory).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22140#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list