Remove unnecessary checks in badgeos_community_loader()
Opened this issue · 2 comments
tw2113 commented
Found in bp-members.php. Maintenance Mode was deprecated in version 1.7.
tw2113 commented
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
tw2113 commented
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.