This removes the use of wsuwp_get_current_network() and uses get_network() instead. The previous check for whether a user was a network admin was broken because the wrong parameters were being passed to wsuwp_is_network_admin(). That's been changed to check for a global admin instead.
This removes the use of
wsuwp_get_current_network()
and usesget_network()
instead. The previous check for whether a user was a network admin was broken because the wrong parameters were being passed towsuwp_is_network_admin()
. That's been changed to check for a global admin instead.See https://github.com/washingtonstateuniversity/WSUWP-Platform/issues/350