Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8555 closed enhancement (fixed)

Improve extensibility of the BP Members and BP Groups components

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 10.0.0 Priority: normal
Severity: normal Version:
Component: Route Parser Keywords: has-patch
Cc:

Description

To make it easier to customize the behavior of BuddyPress for the BP Rewrites plugin, we need to move some code of these components setup_globals() method into a specific new method: setup_additional_globals(). It doesn't change anything to BuddyPress execution but let BP Rewrites only override this specific new method.

Attachments (1)

8555.patch (10.5 KB) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (2)

@imath
3 years ago

#1 @imath
3 years ago

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

In 13087:

Add a new method to the Members & Groups components main class

BP_Members_Component::setup_additional_globals() & BP_Groups_Component::setup_additional_globals() are used to set specific components globals that are not passed to BP_Component::setup_globals(). This commit also makes sure the BP Nouveau template pack uses a consistent object ID for its directory navigation.

Fixes #8555

Note: See TracTickets for help on using tickets.