Closed mattheu closed 8 years ago
Ran into some notices: get_the_terms returns false and not empty array if no terms are found. We can just cast this to array Funnily enough, I'm handling this case for get_coauthors - which is NOT the case - this will nicely return an empty array.
get_the_terms
array
get_coauthors
Ran into some notices:
get_the_terms
returns false and not empty array if no terms are found. We can just cast this toarray
Funnily enough, I'm handling this case forget_coauthors
- which is NOT the case - this will nicely return an empty array.