1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-23 21:06:56 +08:00
buddypress/tests/phpunit/testcases/groups/functions
Renato Alves 00f15df9f6 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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@13103 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2021-09-09 14:01:40 +00:00
..
bpGetUserGroups.php Update invitation/request functions calls. 2019-08-12 20:43:58 +00:00
get-group.php Improving the group member count routine and the function helper. 2021-09-09 14:01:40 +00:00
groupsCreateGroup.php Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
groupsIsUser.php Update invitation/request functions calls. 2019-08-12 20:43:58 +00:00
groupsTotalGroupsForUser.php Use unformatted group count when deciding whether to use the 'no-count' in user nav. 2016-01-08 21:38:46 +00:00