Skip to:
Content

BuddyPress.org

#8934 closed enhancement (fixed)

Improve the tool to reset all BP URL slugs

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: normal
Severity: normal Version:
Component: Core Keywords: has-patch
Cc:

Description

  • This tool was added in r13468
  • Instead of only deleting the post meta, let's completely remap buddypress post types to their component directories. Doing so will make it possible to clean up buddypress post types for no more active components.

Change History (2)

This ticket was mentioned in PR #128 on buddypress/buddypress by @imath.


17 months ago
#1

  • Keywords has-patch added; needs-patch removed

This tool was added in https://buddypress.trac.wordpress.org/changeset/13468

Instead of only deleting the post meta, let's completely remap buddypress post types to their component directories.

This PR will need further testing with a third party component once https://github.com/buddypress/buddypress/pull/127 is merged.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8934

#2 @imath
17 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 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

Note: See TracTickets for help on using tickets.