[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 16 14:57:43 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:"13452" 13452]:
 {{{
 #!CommitTicketReference repository="" revision="13452"
 Improve the `BP_Group_Extension` to support the BP Rewrites API

 - Do the needed adaptations so that slugs used by plugins extending the
 `BP_Group_Extension` can be customizable from the BP URls WP Admin
 settings screen.
 - Do some code formatting cleanup in various class methods.

 This commit also introduces a new filter `bp_rewrites_pre_get_slug` the BP
 Classic plugin will be able to use to skip any slug customizations.

 Props Props r-a-y, johnjamesjacoby, boonebgorges

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

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


More information about the buddypress-trac mailing list