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

WordPress Trac noreply at wordpress.org
Fri Jul 4 20:06:11 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:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * keywords:  needs-unit-tests has-patch needs-refresh => needs-unit-tests
     has-patch


Comment:

 I'm gonna do some profiling/testing, but [attachment:21760.3.diff] should
 do it for `get_term_by( 'slug', ... )`.

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


More information about the wp-trac mailing list