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

buddypress-trac noreply at wordpress.org
Sat Apr 8 06:31:53 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 imath):

 In [changeset:"13449" 13449]:
 {{{
 #!CommitTicketReference repository="" revision="13449"
 Make sure all Groups component URLs are built using BP rewrites API

 - Introduce the `bp_groups_get_create_url()` to ease Groups create URLs
 generation.
 - Improve `bp_groups_get_path_chunks()` to deal with front-end group admin
 URLs and the Groups create URLs.
 - Deprecate `bp_get_groups_directory_permalink()` in favor of
 `bp_get_groups_directory_url()`.
 - Replace all remaining deprecated functions usage.
 - Start putting deprecated functions behind a `function_exists(
 'bp_classic' )` check, corresponding functions were added inside the BP
 Classic backcompat plugin.
 - Adjust some Groups routing unit tests.

 Props r-a-y, johnjamesjacoby, boonebgorges

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

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


More information about the buddypress-trac mailing list