#4075 closed enhancement (fixed)
bp_has_profile() should accept multiple values of profile_group_id
| Reported by: | boonebgorges | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | normal | Milestone: | 11.0.0 |
| Component: | Extended Profile | Version: | |
| Severity: | minor | Keywords: | has-patch has-unit-tests commit |
| Cc: |
Description
At the moment, it's only possible to pass a single profile_group_id to bp_has_profile(). We should allow for comma-separated or array values as well.
Change History (11)
#3
in reply to: ↑ description
@
10 years ago
I saw that, it's already accepting the array.
Replying to boonebgorges:
At the moment, it's only possible to pass a single profile_group_id to bp_has_profile(). We should allow for comma-separated or array values as well.
This ticket was mentioned in PR #30 on buddypress/buddypress by renatonascalves.
4 years ago
#6
- Keywords has-patch has-unit-tests added
As titled.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/4075
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is non-trivial because this involves adapting the query all the places down, plus tests.