[wp-trac] [WordPress Trac] #27764: the_terms() - update phpDocs and add "array" to $taxonomy parameter

WordPress Trac noreply at wordpress.org
Fri Apr 11 18:35:54 UTC 2014


#27764: the_terms() - update phpDocs and add "array" to $taxonomy parameter
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  3.8.2
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 The '''the_terms()''' can accept array of taxonomies (several taxonomies)
 but the phpDocs say it can accept only a string (one taxonomy). This wrong
 documentation could save me a lot of time.

 I fix the documentation in the code for other developers. See the attached
 file. After the ticket will be accepted, i will fix the Codex.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27764>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list