[buddypress-trac] [BuddyPress Trac] #9235: Compatibility with language subdirectories

buddypress-trac noreply at wordpress.org
Tue Mar 4 20:18:30 UTC 2025


#9235: Compatibility with language subdirectories
------------------------------------+------------------------------
 Reporter:  liongrass               |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Members                 |     Version:  12.0.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------
Changes (by prbot):

 * keywords:  dev-feedback => dev-feedback has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/407 PR #407] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://github.com/Grid405 Grid405].''
 Adds a filter to the BP_Members_Component->parse_query method, that allows
 for the request object to be filtered, right before it get's passed to
 "bp_rewrites_get_member_data".

 If member profiles are not used with the default URI, for example when
 using language subdirectories, BuddyPress will throw a 404. This filter
 allows for the requested URI to be manipulated such that
 "bp_rewrites_get_member_data" knows where to look for the username in the
 URI.

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

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


More information about the buddypress-trac mailing list