[wp-trac] [WordPress Trac] #41293: wp_get_post_terms do not work with 'id=>name' argument

WordPress Trac noreply at wordpress.org
Tue Oct 10 16:45:03 UTC 2017


#41293: wp_get_post_terms do not work with 'id=>name' argument
--------------------------+---------------------------
 Reporter:  dany2217      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Taxonomy      |     Version:  4.7.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41809"]:
 {{{
 #!CommitTicketReference repository="" revision="41809"
 Taxonomy: Don't discard keys when merging queried terms from different
 taxonomies.

 For values of `fields` like `id=>parent`, the keys of the array must be
 maintained as part of the query results.

 Introduced as part of #40496. See [38667], [40513].

 Props miyauchi, dany2217, pcarvalho.
 Fixes #41293.
 }}}

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


More information about the wp-trac mailing list