Switch helper function to static

Since `get_term_ids` is static the helper needs to be static, too.

See #UT101.


git-svn-id: https://unit-tests.svn.wordpress.org/trunk@1195 4a5a2adb-35eb-4268-9a1b-fe04a4134342