I'm pretty sure this is a textual error you may want to fix:
Do not call this function, use taxonomy_get_term_by_name() instead.
Do not call this function, use taxonomy_term_load_multiple_by_name() instead.
Indeed! Thanks @JugglingCoder.
EDIT: Added an issue for this: https://github.com/backdrop/backdrop-issues/issues/4299