groups_create_group() doesn't set total_member_count
|Reported by:||rogercoathup||Owned by:||boonebgorges|
|Component:||Component - Groups||Keywords:||has-patch|
Groups created programmatically with groups_create_group() do not show in the Group Directory.
If called without a creator_id, the function sets up a default creator, but does not set total_member_count to 1 in the group meta table.
As a result, subsequent calls to construct the BP_Groups_Template fail to include the groups.
Change History (4)
comment:1 @boonebgorges — 2 years ago
- Component changed from Core to Groups
- Milestone changed from Awaiting Review to 1.8
- Severity changed from normal to minor
- Type changed from defect (bug) to enhancement