[buddypress-trac] [BuddyPress Trac] #6749: bp_get_group_avatar() needs to work outside the loop

buddypress-trac noreply at wordpress.org
Thu Sep 9 14:01:47 UTC 2021


#6749: bp_get_group_avatar() needs to work outside the loop
-------------------------------------------------+-------------------------
 Reporter:  slaFFik                              |       Owner:
                                                 |  espellcaste
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  10.0.0
Component:  Groups                               |     Version:  1.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |
  reviewed                                       |
-------------------------------------------------+-------------------------

Comment (by espellcaste):

 In [changeset:"13103" 13103]:
 {{{
 #!CommitTicketReference repository="" revision="13103"
 Improving the group member count routine and the  function helper.

 The group member count routine was updated to avoid direct, uncached, SQL
 query and unnecessary cache refresh when a group's Members page was
 viewed.
  is now being used to get the group member count which takes into account
 users' existence in the site,
 the query is now cached and filterable.

  was also updated to get the current group from  if available.

 Props imath
 Fixes #7614 and see #6749
 }}}

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


More information about the buddypress-trac mailing list