[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API
buddypress-trac
noreply at wordpress.org
Mon Mar 27 18:19:13 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:"13442" 13442]:
{{{
#!CommitTicketReference repository="" revision="13442"
Improve Components Member's single item navigation generation
- Edit the `BP_Component` Class so that it globalize navigation items
before registering it.
- Introduce `bp_get_component_navigations()`, a new function that will be
used to get Member's single navigation customizable slugs within the
BuddyPress settings area.
- Perform all remaining `bp_loggedin_user_domain()` replacements (55) in
favor of the `bp_loggedin_user_url()` function which uses BP Rewrites to
build URLs.
- Improve `bp_loggedin_user_link()` by adding a new `$chunks` array of
arguments to output escaped URL in templates.
- Adapt some PHPUnit testcases.
Props r-a-y, johnjamesjacoby, boonebgorges
Closes https://github.com/buddypress/buddypress/pull/78
See #4954
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4954#comment:70>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list