buddypress/tests/phpunit/includes
Mathieu Viet 122a4b6e79 Stop using BP Legacy URL parser in favor of the new BP Rewrites API
- Deprecate `bp_core_set_uri_globals()`. This function is moved inside the BP Classic compatibility plugin.
- Introduce the new `bp_register_nav` action to hook to when globalizing Members single item navigations from the `BP_Component` class.
- Improve `bp_get_component_navigations()` so that Avatar/Cover images navigation items are moved inside the Profile sub nav if the Extended profile component is active.
- Register Avatar/Cover images Ajax actions so that these actions trigger our new URL Parser inside Ajax context.
- Improve the `BP_Core_Nav::add_nav()` method so that any BP action variable slugs can be customized.
- Improve Members & Groups component canonical redirections.
- Handle slugs customization persistency using directory pages post metas.
- Introduce a new repair tool to reset all slugs to BuddyPress default one.
- Adapt some PHPUnit tests to better handle our new URL parser.

Props Props r-a-y, johnjamesjacoby, boonebgorges

Closes https://github.com/buddypress/buddypress/pull/94
See #4954



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13468 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2023-05-03 06:18:23 +00:00
..
define-constants.php Use the PHPUnit Composer dependency to run Travis tests 2021-03-01 20:23:16 +00:00
factory.php Improve PHP 8.2 compatibility 2023-02-10 03:12:09 +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 Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
testcase.php Stop using BP Legacy URL parser in favor of the new BP Rewrites API 2023-05-03 06:18:23 +00:00