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

buddypress-trac noreply at wordpress.org
Sun Apr 2 22:12:27 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/81 PR #81] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 - Introduce the `bp_groups_get_path_chunks()` function to build BP
 Rewrites arguments using a regular array.
 - Improve `bp_members_get_path_chunks()` so that it avoids looking for a
 custom slug when the chunk is a numeric value.
 - Introduce the `bp_get_group_manage_url()` function to build Group's
 front-end Admin URLs using BP Rewrites.
 - Deprecate `bp_group_admin_permalink()` &
 `bp_get_group_admin_permalink()` in favor of `bp_group_manage_url()` &
 `bp_get_group_manage_url()`.
 - Replace all remaining usage of `bp_get_group_permalink()` in favor of
 `bp_get_group_url()` or `bp_get_group_manage_url()`.

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

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


More information about the buddypress-trac mailing list