Opened 14 years ago
Closed 14 years ago
#2639 closed enhancement (fixed)
[patch] Exclude parameter for bp_has_groups()
Reported by: | boonebgorges | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Groups | Keywords: | has-patch needs-testing |
Cc: |
Description
This patch adds an exclude parameter for bp_has_groups().
The patch also contains fixes to a couple little bugs that were in the way of testing the main enhancement:
- some instances of function_exists( 'friends_install' ) have been changed to bp_is_active( 'friends' )
- BP_Core_User::get_users() was throwing errors when $type = 'alphabetical' because the LEFT JOIN clause for the profile data table was missing
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Oops, realized that I had taken out a line for testing and forgot to readd it. 2nd patch fixes.