Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 years ago

#8193 closed defect (bug) (fixed)

bp_is_active( 'core' ) is false

Reported by: imath Owned by: imath
Priority: normal Milestone: 6.0.0
Component: Core Version:
Severity: normal Keywords: has-patch commit
Cc:

Description

Although Core is a required component and is always loaded, false === bp_is_active( 'core' ). That's because the buddypress()->required_components is a regular array and we're checking for a key that doesn't exist core instead of checking if this array contains core.

Attachments (1)

8193.patch (646 bytes ) - added by imath 7 years ago.

Download all attachments as: .zip

Change History (4)

@imath
7 years ago

#1 @espellcaste
7 years ago

Sounds good!

#2 @imath
7 years ago

  • Keywords commit added

Thanks for your feedback @espellcaste 👍

#3 @imath
7 years ago

  • Owner set to imath
  • Resolutionfixed
  • Status newclosed

In 12517:

Check required components the right way into bp_is_active() function

As the buddypress()->required_components is not an associative array, we need to check values instead of keys.

Props exoconsult

Fixes #8193

Note: See TracTickets for help on using tickets.