Open tw2113 opened 9 years ago
checking for the true return of buddypress() in general should be fine to be removed as well, since we're running things on bp_init and the BuddyPress class should already be instantiated by then
Upon further review, https://github.com/opencredit/BadgeOS-Community-Add-on/blob/master/includes/bp-members.php#L62 could very likely be reduced down to just checking for xprofile being active, unless we allow BuddyPress 1.6 and down, for which we'd want maintenance mode checking too.
Found in bp-members.php. Maintenance Mode was deprecated in version 1.7.