boonebgorges / invite-anyone

Invite Anyone - Expands on BuddyPress's invitation features
http://teleogistic.net/code/buddypress/invite-anyone
29 stars 29 forks source link

Settings panel can be hooked to wrong place #156

Closed boonebgorges closed 4 years ago

boonebgorges commented 6 years ago

When BP is network activated but IA is not, the settings panel can be hooked in the wrong place. This manifests especially when BP_ROOT_BLOG is set to something other than 1 and IA is activated there.

Basically, it's not reliable to use bp_core_do_network_admin() and friends. We need separate ones for IA-specific admin panels.