[wp-trac] [WordPress Trac] #23506: get_terms() assumes its taxonomies argument is a numeric array with a 0 key
WordPress Trac
noreply at wordpress.org
Fri Jun 23 02:05:23 UTC 2017
#23506: get_terms() assumes its taxonomies argument is a numeric array with a 0 key
------------------------------+-----------------------------
Reporter: nbachiyski | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Taxonomy | Version: 3.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+-----------------------------
Comment (by boonebgorges):
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/23506#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list