Don't use func_get_args() as a function paramater

This should appease certain PHP 5.2 setups, including travis-ci

See #4294

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7800 cdf35c40-ae34-48e0-9cc9-0c9da1808c22