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

buddypress-trac noreply at wordpress.org
Thu Mar 16 21:46:55 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/75 PR #75] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 - Add rewrite tags/rules for the groups directory type and the create URLs
 - Introduce `bp_get_group_url()`/`bp_group_url()` & to retrieve/output a
 Groups single item URL using BP Rewrites.
 - Introduce `bp_get_groups_directory_url()`/`bp_groups_directory_url()`
 to retrieve/output the Groups directory URL using BP Rewrites.
 - Introduce `bp_get_group_restricted_screens()`,
 `bp_get_group_extension_screens()` & `bp_get_group_screens()` to get
 information about the Groups screens (in particular each screen rewrite
 ID).
 - Perform easiest replacements for
 `bp_get_group_permalink()`/`bp_group_permalink()` &
 `bp_get_groups_directory_permalink()`/`bp_groups_directory_permalink()`.
 - Improve code formatting & properly escape single group URLs into
 templates.
 - Update impacted Unit Tests

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

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


More information about the buddypress-trac mailing list