1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-21 20:54:17 +08:00
buddypress/tests/phpunit/testcases/routing
Mathieu Viet 0863be51d1 Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations
Version 5.1.0 of WordPress deprecated two hooks (`wpmu_new_blog` & `delete_blog`) BuddyPress is using to run some of the BP Blogs component's features. In order to preserve these features for the versions of WordPress we support and that are older than 5.1.0 as well as start using the replacement hooks introduced in 5.1.0 (`wp_initialize_site` & `wp_validate_site_deletion`), we are introducing a compatibility mechanism to make sure BuddyPress is using the right hooks depending on the installed WordPress it's activated on.

Props boonebgorges & I ;)

Fixes #7984


git-svn-id: https://buddypress.svn.wordpress.org/trunk@12606 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2020-03-31 02:45:13 +00:00
..
activity.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
anonymous.php Introduce new API for BuddyPress navigation. 2016-05-12 17:19:06 +00:00
core.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
friends.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
groups.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
members.php Mark unit tests without tests as incomplete. 2019-01-21 22:07:43 +00:00
messages.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
root-profiles.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
settings.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
url.php Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations 2020-03-31 02:45:13 +00:00
xprofile.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00