[wp-trac] [WordPress Trac] #41113: WP_Term_Query::get_terms() : Do not presume the $taxonomies is a 0-based array

WordPress Trac noreply at wordpress.org
Fri Jun 23 02:05:21 UTC 2017


#41113: WP_Term_Query::get_terms() : Do not presume the $taxonomies is a 0-based
array
--------------------------+---------------------------
 Reporter:  david.binda   |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Taxonomy      |     Version:  3.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"40924"]:
 {{{
 #!CommitTicketReference repository="" revision="40924"
 When querying for terms, do not assume that `$taxonomies` is a 0-indexed
 array.

 In [25108], the logic of term queries was modified to avoid assuming
 that the `taxonomies` array was numerically indexed. See #23506. This
 fix was inadvertantly reverted during the refactor in [25162].

 Props david.binda.
 Fixes #41113.
 }}}

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


More information about the wp-trac mailing list