[buddypress-trac] [BuddyPress Trac] #7614: Group member count routine is bad
buddypress-trac
noreply at wordpress.org
Thu Nov 3 17:37:42 UTC 2022
#7614: Group member count routine is bad
--------------------------+-----------------------
Reporter: boonebgorges | Owner: imath
Type: enhancement | Status: assigned
Priority: normal | Milestone: 11.0.0
Component: Groups | Version: 1.2.3
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-----------------------
Comment (by dcavins):
Another way that we could resolve the logic mismatch (of seeing not-yet-
active members in a group's list) is to rename the `count` parameter to
`exclude_ghosts` or `exclude_inactive` (something that actually explains
what it does) and use it by default in `groups_get_group_members()` (but
make it a param so that the behavior could be overriden). This could be
expensive, though, since it fetches every active user to use as a filter
comb.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7614#comment:24>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list