get_objects_in_term source documentation mentions term not term_id
|Reported by:||Warll||Owned by:||nacin|
After trying to pass get_objects_in_term a full term, an object, and then trying to pass it a term slug I dug a bit deeper and came across $terms = array_map('intval', $terms);
That lead me to try and feed get_objects_in_term an integer, which worked. I feel a bit cheated that the source documentation didn't mention this rather critical clause.