[buddypress-trac] [BuddyPress Trac] #8688: BP_Groups_Group::get_total_member_count() is highly inefficient, and runs out of memory

buddypress-trac noreply at wordpress.org
Tue May 3 20:10:56 UTC 2022


#8688: BP_Groups_Group::get_total_member_count() is highly inefficient, and runs
out of memory
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  10.3.0
Component:  Groups        |     Version:  10.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by imath):

 Hi @dd32

 Thanks a lot for your very interesting feedback. I agree we should only
 count once in case of running a batch of `groups_join_group()`. We could
 enjoy this improvement in BuddyPress as we can add a list of users to a
 group from the WP Admin/Group screen.

 I'm going to look at it.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8688#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list