Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4935 closed defect (bug) (fixed)

Incorrect variables in BBP_Core::bootstrap()

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 1.7.1 Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

From IRC:

https://buddypress.trac.wordpress.org/browser/tags/1.7/bp-core/bp-core-loader.php#L65
Looks like it's not picking up the bp-active-components string, which as paulgibbs suggests, may mean that an option didn't get migrated correctly. Resaving the Components panel should fix it
that said, there is a bug in this code - $optional_components is not defined here, I think it's supposed to be $bp->optional_components

Change History (2)

#1 @johnjamesjacoby
12 years ago

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

(In [6910]) Use correct $bp global variables in BP_Core::bootstrap() when updating from a pre-1.5 version. Fixes #4935.

#2 @johnjamesjacoby
12 years ago

(In [6911]) Use filtered $bp global variables in BP_Core::bootstrap() for deactivated components array. See #4935.

Note: See TracTickets for help on using tickets.