[wp-trac] [WordPress Trac] #27764: Allow the_terms() and get_the_terms() to accept an array of taxonomies

WordPress Trac noreply at wordpress.org
Fri Sep 18 01:36:17 UTC 2015


#27764: Allow the_terms() and get_the_terms() to accept an array of taxonomies
------------------------------------------+----------------------
 Reporter:  ramiy                         |       Owner:
     Type:  enhancement                   |      Status:  closed
 Priority:  normal                        |   Milestone:
Component:  Taxonomy                      |     Version:  3.8.2
 Severity:  normal                        |  Resolution:  wontfix
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


Comment:

 The docs for `the_terms()` and - `get_the_term_list()`,
 `get_the_terms()`, and `get_object_term_cache()` (which are written in the
 context of only one taxonomy) - all take `string` as the value of
 `$taxonomy`.

 This would result in some bizarre churn in those funcs, just so they can
 pass an array to `wp_get_object_terms()` down the chain - I vote no

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


More information about the wp-trac mailing list