[wp-trac] [WordPress Trac] #17558: Incorrect docs in get_the_terms().

WordPress Trac wp-trac at lists.automattic.com
Tue May 31 15:49:06 UTC 2011


#17558: Incorrect docs in get_the_terms().
------------------------------+------------------
 Reporter:  mfields           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.2
Component:  Inline Docs       |     Version:  3.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by ryan):

 These functions are odd in that $id has a default but is followed by a
 non-optional taxonomy.  The default should likely be removed.  I don't
 know that we should bother documenting passing 0.   Might as well just
 past the ID since you have to pass something.

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


More information about the wp-trac mailing list