[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 23 19:35: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:"13441" 13441]:
 {{{
 #!CommitTicketReference repository="" revision="13441"
 Make `BP_Core_Nav` generate "BP Rewrites ready" navigation links

 - Remove all components `$parent_url` attributes when setting sub nav
 items.
 - Only use the `bp_core_create_nav_link()` `$link` attribute argument &
 the `bp_core_create_subnav_link()` `$parent_url` attribute argument if
 specified to preserve backward compatibility.
 - Migrates the Community search feature so that it uses BP Rewrites.
 - Perform some `bp_loggedin_user_domain()` in favor of
 `bp_loggedin_user_url()`.
 - Update some PHPUnit tests.

 Props r-a-y, johnjamesjacoby, boonebgorges

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

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


More information about the buddypress-trac mailing list