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

WordPress Trac noreply at wordpress.org
Sat Feb 20 19:54:48 UTC 2016


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

 * milestone:  Future Release => 4.5


Comment:

 Stripping the leading `AND` off the clause drives me nuts. Let's assemble
 the `WHERE` clause in `get_terms()` properly so that we don't have to do
 this. (We've already made the corresponding change in other query
 classes.)

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


More information about the wp-trac mailing list