[wp-trac] [WordPress Trac] #37568: `get_terms()` falsely assumes that legacy arguments are used

WordPress Trac noreply at wordpress.org
Tue Aug 23 14:44:21 UTC 2016


#37568: `get_terms()` falsely assumes that legacy arguments are used
--------------------------------------+-----------------------------
 Reporter:  flixos90                  |       Owner:  wonderboymusic
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  Taxonomy                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38337"]:
 {{{
 #!CommitTicketReference repository="" revision="38337"
 Taxonomy: in `get_terms()`, do not assume that legacy args are being
 passed when the only params are top-level `meta_*` values. Add keys in
 `WP_Term_Query::__construct()`.

 Adds unit tests.

 Props flixos90, boonebgorges.
 Fixes #37568.
 }}}

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


More information about the wp-trac mailing list