[buddypress-trac] [BuddyPress Trac] #7614: Group member count routine is bad
buddypress-trac
noreply at wordpress.org
Thu Sep 9 14:01:47 UTC 2021
#7614: Group member count routine is bad
-------------------------------------------------+-------------------------
Reporter: boonebgorges | Owner:
| espellcaste
Type: enhancement | Status: closed
Priority: normal | Milestone: 10.0.0
Component: Groups | Version: 1.2.3
Severity: normal | Resolution: fixed
Keywords: has-unit-tests dev-reviewed 2nd- |
opinion |
-------------------------------------------------+-------------------------
Changes (by espellcaste):
* status: assigned => closed
* resolution: => fixed
Comment:
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/7614#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list