[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 20:03:33 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:
--------------------------------------+--------------------

Comment (by boonebgorges):

 In [changeset:"36598"]:
 {{{
 #!CommitTicketReference repository="" revision="36598"
 In `get_terms()`, assemble `WHERE` conditions in an array instead of
 concatenating.

 This method is more reliable when adding new `WHERE` conditions.

 See #35495.
 }}}

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


More information about the wp-trac mailing list