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/core/functions
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
..
bpCoreGetDirectoryPageId.php Introduce bp_core_get_directory_page_id(). 2016-05-14 04:59:12 +00:00
bpCoreGetDirectoryPageIds.php Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations 2020-03-31 02:45:13 +00:00
bpGetRefererPath.php Improve AJAX referer determination during URI parsing. 2015-02-25 14:56:18 +00:00
bpVerifyNonceRequest.php General: Fix a couple of inline docs spelling mistakes. 2017-12-04 04:05:33 +00:00