Opened 16 years ago
Closed 16 years ago
#2620 closed enhancement (fixed)
[patch] Exclude parameter for bp_has_members()
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Core | Version: | |
| Severity: | Keywords: | has-patch needs-testing | |
| Cc: |
Description
This patch adds an exclude parameter for bp_has_members().
I've also added a few lines to allow $include and $exclude to be arrays as well as comma-separated lists.
I'll be following up with similar patches for other bp_has_x() queries.
Attachments (3)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
For backward compatibility, $exclude should be added to the end of the function parameter list and have a default value.