[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API
buddypress-trac
noreply at wordpress.org
Fri Mar 31 17:26:45 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:"13443" 13443]:
{{{
#!CommitTicketReference repository="" revision="13443"
Make sure all displayed user URLs are built using the BP Rewrites API
Replace all remaining `bp_displayed_user_domain()` usage in favor of
`bp_displayed_user_url()`.
Introduce the `bp_members_get_path_chunks()` function to quickly build BP
Rewrites argument for member's URL using an array of slugs.
Deprecate `bp_activities_member_rss_link()`, `bp_blogs_blog_tabs()` &
`bp_groups_header_tabs()`.
Improve `bp_displayed_user_link()` so that it's possible to pass an array
of slugs to output an escaped BP Rewrites ready URL.
Props r-a-y, johnjamesjacoby, boonebgorges
Closes https://github.com/buddypress/buddypress/pull/79
See #4954
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4954#comment:72>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list