[wp-trac] [WordPress Trac] #21651: Add term_taxonomy_id to available fields in get_term_by

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 21 14:07:33 UTC 2012


#21651: Add term_taxonomy_id to available fields in get_term_by
--------------------------+-----------------------------
 Reporter:  jchristopher  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  3.4.1
 Severity:  minor         |   Keywords:  has-patch
--------------------------+-----------------------------
 In my experience {{{term_taxonomy_id}}} has proven to be exponentially
 useful in a number of ways, specifically in prevention of same-id
 collisions of terms used in multiple taxonomies. I'd love to be able to
 grab a term object by passing along its {{{term_taxonomy_id}}} to
 {{{get_term_by()}}}. A recent change was made to {{{WP_Query}}} that
 provides this functionality, so I'm hoping this makes the cut as well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21651>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list