[buddypress-trac] [BuddyPress Trac] #7208: `bp_get_user_groups()` performance issues

buddypress-trac noreply at wordpress.org
Mon Aug 1 20:09:36 UTC 2016

#7208: `bp_get_user_groups()` performance issues
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.7
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |

Comment (by boonebgorges):

 In [changeset:"10977"]:
 #!CommitTicketReference repository="" revision="10977"
 In `bp_get_user_groups()`, initialize key whitelists only once.

 Creating them during every iteration of the groups loop is unnecessary.

 See #7208.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7208#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list