1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-22 20:56:55 +08:00
buddypress/tests/phpunit/testcases/blogs
Mathieu Viet 84851c1f90 Support date queries for Members, Groups and Sites
According to components, date queries can be restricted to a limited list of loop types:

- For Members, the `$type` parameter in `bp_has_members()` needs to be either `active`, `newest`, `random` or `online`.
- For Groups, the `$type` parameter in `bp_has_groups()` needs to be either `active` or `newest`.
- For sites, the `$type` parameter in `bp_has_blogs()` needs to be either `active` or `newest`.

Props r-a-y

Fixes #8488



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13184 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2021-12-12 14:09:02 +00:00
..
activity.php Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations 2020-03-31 02:45:13 +00:00
cache.php Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations 2020-03-31 02:45:13 +00:00
class-bp-blogs-blog.php Support date queries for Members, Groups and Sites 2021-12-12 14:09:02 +00:00
filters.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
functions.php Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations 2020-03-31 02:45:13 +00:00
template.php Support date queries for Members, Groups and Sites 2021-12-12 14:09:02 +00:00