Checking if _GET['action'] exists before trying to access it
Adding bp_core_get_userlink stub
De-registering and re-registering hook callback to avoid infinite loop