[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API
buddypress-trac
noreply at wordpress.org
Sat Feb 18 11:08: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 prbot):
''This ticket was mentioned in
[https://github.com/buddypress/buddypress/pull/67 PR #67] on
[https://github.com/buddypress/buddypress/ buddypress/buddypress] by
[https://profiles.wordpress.org/imath/ @imath].''
The custom post type name is `buddypress`. Why?
- It should be a unique name no other plugins chose
- Using `buddypress` should help us enjoy WP template hierarchy
Bump raw db version to the first commit number we made about BP Rewrites.
Add an upgrade routine to edit existing directory pages post type as well
as nav menu items.
Stop using `get_page_by_path()` in favor of
`bp_core_get_directory_page_id()`.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/4954
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4954#comment:49>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list