[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API
buddypress-trac
noreply at wordpress.org
Sun Jul 9 10:06:37 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:"13512" 13512]:
{{{
#!CommitTicketReference repository="" revision="13512"
Check the requested Member’s page matches a valid nav screen function
The `BP_Members_Component::check_parsed_query()` method happens once the
query is parsed & once the single displayed Member's navigation is set. It
checks the current action matches a navigation slug & whether the
corresponding screen function exists and is callable. If it's not the case
a 404 is displayed, just like it's currently the case when the BP Legacy
URL parser is in use.
See #4954
Fixes #8932
Closes https://github.com/buddypress/buddypress/pull/125
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4954#comment:98>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list