Functions.php

Test for empty values in get_terms_by_post_type

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>