Skip to:
Content

Opened 5 years ago

Last modified 2 weeks ago

#4075 new enhancement

bp_has_profile() should accept multiple values of profile_group_id

Reported by: boonebgorges Owned by:
Milestone: 2.8 Priority: normal
Severity: minor Version:
Component: Extended Profile Keywords:
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 (3)

#1 @slaFFik
7 weeks ago

  • Milestone changed from Future Release to 2.8

#2 @DJPaul
6 weeks ago

This is non-trivial because this involves adapting the query all the places down, plus tests.

#3 in reply to: ↑ description @bhargavbhandari90
2 weeks 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.

Note: See TracTickets for help on using tickets.