[buddypress-trac] [BuddyPress] #5018: Update user meta field 'total_group_count' when user joins group

buddypress-trac noreply at wordpress.org
Fri Jun 7 02:06:52 UTC 2013


#5018: Update user meta field 'total_group_count' when user joins group
---------------------------+---------------------------
 Reporter:  mukkundthanki  |       Owner:  boonebgorges
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  1.8
Component:  Groups         |     Version:  1.7
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |
---------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"7182"]:
 {{{
 #!CommitTicketReference repository="" revision="7182"
 Improvements to how group total_member_count is refreshed on membership
 events

 - Use an actual member count when refreshing, rather than incrementing
 - Centralize all of the updating in the database methods, rather than
 having
   the updates spread throughout the groups component

 Also adds integration tests for total_member_count as relates to the
 groups_*
 functions.

 See #5018
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5018#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list