[buddypress-trac] [BuddyPress Trac] #8193: bp_is_active( 'core' ) is false

buddypress-trac noreply at wordpress.org
Thu Jan 9 04:34:19 UTC 2020


#8193: bp_is_active( 'core' ) is false
--------------------------+-----------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.0.0
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 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`.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8193>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list