Opened 23 hours ago
Last modified 23 hours ago
#41113 new defect (bug)
WP_Term_Query::get_terms() : Do not presume the $taxonomies is a 0-based array
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 3.7 |
| Component: | Taxonomy | Keywords: | has-patch |
| Focuses: | Cc: |
Description
In #23506 the assumption that $taxonomies is a 0-based array has been flagged and patched via r25108, however a part of the fix has been reverted, very likely due to an oversight, in r25162 (addressing unrelated ticket - #11823)
Attached patch is restoring the original fix, which is using reset() instead of assuming that $taxonomies[0] exists.
Attachments (1)
Change History (2)
@david.binda
23 hours ago
#1
@swissspidy
23 hours ago
- Component changed from General to Taxonomy
- Keywords has-patch added
- Version changed from trunk to 3.7
Note: See
TracTickets for help on using
tickets.