[wp-trac] [WordPress Trac] #35495: Allow `get_terms()` to return all terms, make `$taxonomy` parameter optional

WordPress Trac noreply at wordpress.org
Fri Feb 12 17:37:56 UTC 2016


#35495: Allow `get_terms()` to return all terms, make `$taxonomy` parameter
optional
------------------------------------------+------------------------------
 Reporter:  flixos90                      |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Taxonomy                      |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-unit-tests needs-patch  |     Focuses:
------------------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:  has-patch needs-unit-tests dev-feedback => needs-unit-tests
     needs-patch


Comment:

 I like @swissspidy's approach more. Could we see a patch for this? And
 unit tests that demonstrate the conflict between 'taxonomies' parameters?
 (For the record, I am not concerned about this; if anyone is passing an
 array of args to the first param, then they clearly intend for the second
 param to be ignored.)

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


More information about the wp-trac mailing list