buddypress/tests/phpunit/includes
Mathieu Viet 767278cd25 Raise WordPress required version to 5.4
BuddyPress 10.0.0 will require at least WordPress 5.4. The BP Development team took this decision on October 6 (2021) according to our [https://codex.buddypress.org/getting-started/wordpress-version-compatibility/ guideline about WordPress version compatibility].

- Add WordPress 5.4 to the WordPress versions tested into our PHPUnit GitHub action.
- Deprecate the `bp.apiRequest` script which was introduced to polyfill the `wp.apiRequest` one. Plugin developers are encouraged to directly use the `wp.apiRequest` script. Please note the `bp.apiRequest` script will be completely removed in a next major BuddyPress version.
- Deprecate the `bp_insert_site_hook()` and `bp_delete_site_hook()` function which were introduced to make sure to use the best hook according to the installed WordPress version when creating a new site or deleting an existing one.

At least one more commit is required to finish this "raising" process, as BP Blocks do not need anymore the `CompatibiltyServerSideRender` component we introduced to preserve back compatibility with WordPress version older than 5.3.

Props oztaser

See #8571



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13140 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2021-11-07 17:22:42 +00:00
..
define-constants.php Use the PHPUnit Composer dependency to run Travis tests 2021-03-01 20:23:16 +00:00
factory.php Update all references from wp_parse_args to bp_parse_args. 2021-09-12 20:43:39 +00:00
install.php CI, Tests: fix MySQL 5.7+ warning when running unit test install script. 2017-09-27 09:03:38 +00:00
loader.php Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
mock-mailer.php Introduce base classes for new Email implementation. 2016-01-27 16:43:44 +00:00
testcase-emails.php Tests: new base class for BP_Email tests. 2016-02-06 19:26:09 +00:00
testcase.php Raise WordPress required version to 5.4 2021-11-07 17:22:42 +00:00