set 1.8.20 compatibility with elgg_gatekeeper()