1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-23 21:06:56 +08:00
buddypress/tests/phpunit/testcases/members
Mathieu Viet 8655698971 Make more BuddyPress generated links ready for BP Rewrites
- Improve the Members component adding permastructs and custom rewrite 
rules for registration and activation pages.
- Improve the Blogs component adding custom rewrite rule to handle the 
Blogs create page.
- Make a huge progress about replacing all occurrences of 
`bp_get_root_domain()` (45 replacements were performed).
- Deprecate `bp_groups_directory_permalink()`, 
`bp_get_groups_directory_permalink()`, `bp_blogs_directory_permalink()` & 
`bp_get_blogs_directory_permalink()` and replace them with these new 
functions: `bp_groups_directory_url()`, `bp_get_groups_directory_url()`, 
`bp_blogs_directory_url()` & `bp_get_blogs_directory_url()`.
- Although `bp_loggedin_user_domain()` & `bp_displayed_user_domain()` 
should also be deprecated, we're leaving them as aliases of the right 
functions to use. Plugin authors shouldn't use them to build other links 
than member's profile home url.

**NB**: these deprecations are required because these functions were used 
to build BuddyPress URLs concatenating URL chunks. Once the BP Classic 
plugin will  be built we will adapt the code to remove these deprecation 
notices.

Props r-a-y, johnjamesjacoby, boonebgorges

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



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13436 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2023-03-15 08:16:46 +00:00
..
template Make more BuddyPress generated links ready for BP Rewrites 2023-03-15 08:16:46 +00:00
activity.php Remove a new_avatar activity when an avatar was deleted from history 2021-12-11 19:40:10 +00:00
cache.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
class-bp-signup.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
functions.php BP Rewrites: Introduce the bp_members_get_user_url() function 2023-03-07 04:28:08 +00:00
template.php BP Rewrites: Introduce the bp_members_get_user_url() function 2023-03-07 04:28:08 +00:00
types.php Add missing global cache groups 2022-10-06 22:14:05 +00:00