Opened 4 years ago
Closed 4 years ago
#8736 closed defect (bug) (fixed)
`bp_get_taxonomy_types()` is wrongly skipping Group/Member type term query
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 11.0.0 |
| Component: | Core | Version: | |
| Severity: | normal | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 13323: