[wp-trac] [WordPress Trac] #21760: get_term_by() calls are not cached

WordPress Trac noreply at wordpress.org
Sat Jul 5 07:56:37 UTC 2014

#21760: get_term_by() calls are not cached
 Reporter:  wonderboymusic    |       Owner:  wonderboymusic
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.0
Component:  Taxonomy          |     Version:  2.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:

Comment (by tollmanz):

 Scratch my comment about using `$term->term_id` instead of `$term`. I see
 that `$term` is changed from the object into the term ID earlier in the

Ticket URL: <https://core.trac.wordpress.org/ticket/21760#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list