[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API

buddypress-trac noreply at wordpress.org
Sat Mar 11 12:48:29 UTC 2023


#4954: Migrate BP's custom URI parser to use WP's Rewrite API
--------------------------------------+-----------------------
 Reporter:  boonebgorges              |       Owner:  imath
     Type:  enhancement               |      Status:  assigned
 Priority:  high                      |   Milestone:  12.0.0
Component:  Route Parser              |     Version:
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+-----------------------

Comment (by prbot):

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/73 PR #73] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 - 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). There might be
 some last ones inside PHPUnit tests.
 - Deprecate `bp_displayed_user_domain()`, `bp_loggedin_user_domain()`,
 `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_displayed_user_url()`,
 `bp_loggedin_user_url()`, `bp_groups_directory_url()`,
 `bp_get_groups_directory_url()`, `bp_blogs_directory_url()` &
 `bp_get_blogs_directory_url()`. These deprecations are required because
 these functions were used to build some BuddyPress URLs concatenating URL
 chunks.
 - Start replacing `bp_loggedin_user_domain()` &
 `bp_displayed_user_domain()` with the new functions.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/4954

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4954#comment:55>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list