[wp-trac] [WordPress Trac] #21760: Allow get_term() to accept string as first argument

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 21:56:18 UTC 2012


#21760: Allow get_term() to accept string as first argument
----------------------------+------------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Taxonomy        |     Version:  2.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by wonderboymusic):

 Per chat with Nacin - gonna work on separate cache buckets for each type
 and will resurrect {{{get_term_by()}}} which can leverage them. Also,
 {{{get_term()}}} would have a hard time distinguishing between id, name,
 and slug for the category named, slugged, term_id'd "1" etc

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21760#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list