[buddypress-trac] [BuddyPress] #4827: groups_create_group() doesn't set total_member_count

buddypress-trac noreply at wordpress.org
Thu Feb 14 11:05:28 UTC 2013


#4827: groups_create_group() doesn't set total_member_count
--------------------------+-----------------------------
 Reporter:  rogercoathup  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.7
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4827>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list