Opened 3 years ago
Closed 3 years ago
#8736 closed defect (bug) (fixed)
`bp_get_taxonomy_types()` is wrongly skipping Group/Member type term query
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 11.0.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Core | Keywords: | has-patch |
| Cc: |
Description
This is a regression introduced in [13312]. Casting false to an array produces array( false ) and the empty 'bp_object_terms' cache is wrongly interpreted as an array containing a false value. As a result, the query to get types saved into the db is never run, and using bp_get_taxonomy_types() always return no member/group types even if some were created.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 13323: