[buddypress-trac] [BuddyPress Trac] #4954: Migrate BP's custom URI parser to use WP's Rewrite API

buddypress-trac noreply at wordpress.org
Fri Feb 24 09:37:51 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:"13431" 13431]:
 {{{
 #!CommitTicketReference repository="" revision="13431"
 Use a custom post type instead of the page post type for directories

 - The `buddypress` post type is now the one used for the BP component
 directory page.
 - Introduce the `bp_core_set_unique_directory_page_slug()` function to
 make sure there is no conflict with an existing WP page when setting the
 BP Component directory page `post_name`.
 - Introduce the `bp_restricted` custom status. We'll be able to use it for
 future visibility features.
 - Deprecate the Admin Slugs screen and corresponding functions
 - Bump `raw_db_version` to `13422` (the first commit about merging BP
 Rewrites).
 -  Add an update function to update the post type of the existing BP
 component directory pages and potential WP Nav Menus including these.

 Props r-a-y, johnjamesjacoby, boonebgorges

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

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


More information about the buddypress-trac mailing list