Changeset 773012
- Timestamp:
- 09/16/2013 01:50:31 AM (13 years ago)
- Location:
- bp-group-hierarchy/trunk
- Files:
-
- 2 edited
-
bp-group-hierarchy-classes-legacy.php (modified) (1 diff)
-
index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bp-group-hierarchy/trunk/bp-group-hierarchy-classes-legacy.php
r763873 r773012 28 28 global $bp, $wpdb; 29 29 30 if( ! function_exists( 'buddypress' ) ) {30 if( ! function_exists( 'buddypress' ) && ! is_a( $bp, 'BuddyPress' ) ) { 31 31 bp_group_hierarchy_debug('BP not loaded'); 32 32 return; -
bp-group-hierarchy/trunk/index.php
r765238 r773012 36 36 37 37 // Check whether BP is active and whether Groups component is loaded, and throw error if not 38 if( ! function_exists( 'buddypress') || ! bp_is_active( 'groups' ) ) {38 if( ! ( function_exists( 'buddypress' ) || is_a( $bp, 'BuddyPress' ) ) || ! bp_is_active( 'groups' ) ) { 39 39 _e( 'BuddyPress is not installed or the Groups component is not activated. Cannot continue install.', 'bp-group-hierarchy' ); 40 40 exit;
Note: See TracChangeset
for help on using the changeset viewer.