get_term_by sanitizes incorrect field when using the slug
|Reported by:||cavemonkey50||Owned by:|
When using get_term_by to get a term by a slug, the results are blank. This is due to get_term_by sanitizing the field name instead of the term name. The attached patch corrects this problem.
Change History (2)
Note: See TracTickets for help on using tickets.