[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API
buddypress-trac
noreply at wordpress.org
Mon May 29 05:51:19 UTC 2023
#4954: Migrate BP's custom URI parser to use WP's Rewrite API
--------------------------------------+---------------------
Reporter: boonebgorges | Owner: imath
Type: enhancement | Status: closed
Priority: high | Milestone: 12.0.0
Component: Route Parser | Version:
Severity: major | Resolution: fixed
Keywords: has-patch has-unit-tests |
--------------------------------------+---------------------
Comment (by imath):
In [changeset:"13492" 13492]:
{{{
#!CommitTicketReference repository="" revision="13492"
Make sure `BP_Component::parse_query()` always run
Only running it when BP Rewrites are on is not the right way to go as some
plugins might have been using the WP Rewrites API for a while and might
have extended this method from their component's class.
Instead of only running this method if BP Rewrites are on, we're adding a
URL parser check inside each component having a directory to figure out
whether it's needed to set BP URI globals.
See #4954
Fixes #8908
Closes https://github.com/buddypress/buddypress/pull/109
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4954#comment:94>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list