[wp-trac] [WordPress Trac] #46768: Not working get_terms with parameters 'child_of' and 'fields'=>'id=>name'

WordPress Trac noreply at wordpress.org
Tue Jul 28 14:22:09 UTC 2020


#46768: Not working get_terms with parameters 'child_of' and 'fields'=>'id=>name'
--------------------------------------+-----------------------------
 Reporter:  planvova                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Taxonomy                  |     Version:  3.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48663" 48663]:
 {{{
 #!CommitTicketReference repository="" revision="48663"
 Taxonomy: Ensure the `child_of` argument of `get_terms()` works as
 expected with `'fields' => 'id=>name'` or `'id=>slug'`.

 Props Howdy_McGee, deepaklalwani, planvova.
 Fixes #46768.
 }}}

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


More information about the wp-trac mailing list