[buddypress-trac] [BuddyPress Trac] #8934: Improve the tool to reset all BP URL slugs

buddypress-trac noreply at wordpress.org
Wed Jul 12 04:00:20 UTC 2023


#8934: Improve the tool to reset all BP URL slugs
-------------------------+---------------------
 Reporter:  imath        |       Owner:  imath
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  12.0.0
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13515" 13515]:
 {{{
 #!CommitTicketReference repository="" revision="13515"
 Improve the tool to reset all BP URL slugs

 Instead of only deleting the custom slugs’ post metas, let’s completely
 remap component directories to `buddypress` post types using the
 `bp_core_add_page_mappings()` function.

 Doing so is making it possible to clean up `buddypress` post type entries
 for no more active components.

 Fixes #8934
 Closes https://github.com/buddypress/buddypress/pull/128
 }}}

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


More information about the buddypress-trac mailing list