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

WordPress Trac noreply at wordpress.org
Sat Jan 7 02:14:49 UTC 2017


#21760: get_term_by() calls are not cached
-------------------------------+--------------------------
 Reporter:  wonderboymusic     |       Owner:  ocean90
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  4.8
Component:  Taxonomy           |     Version:  2.3
 Severity:  normal             |  Resolution:
 Keywords:  early needs-patch  |     Focuses:  performance
-------------------------------+--------------------------

Comment (by dd32):

 Here's some code in one of the themes that triggers it:
 https://themes.trac.wordpress.org/browser/dynamic-news-lite/1.4.7/inc
 /featured-content.php#L52

 @ocean90 @johnjamesjacoby @boonebgorges I'd appreciate if one of you could
 look into this ticket and fix it in trunk sooner rather than later, else
 I'll be forced to revert this from trunk too to fix `wp-themes.com`
 previews.

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


More information about the wp-trac mailing list