Support id=>name in fields arg of get_terms()
|Reported by:||mikeschinkel||Owned by:|
In trying to use get_terms() I found it didn't support what seemed a common use case; an array where keys were $term->term_id and the values where $term->name.
This patch adds functionailty for a "id=>name" in fields arg of get_terms(). It returns array of term names keyed by the term id.
This path is similar to changeset:12729 by ryan on 2010-Jan-15.
I searched for a similar ticket but didn't find anything recently related.