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

WordPress Trac noreply at wordpress.org
Wed Sep 28 17:27:31 UTC 2016


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

Comment (by ocean90):

 I'm using this [https://github.com/aaronjorbin/develop.wordpress/pull/18
 pull request] to continue working on the tests.
 [attachment:21760.4.patch] has a bug for term_taxonomy_id lookups
 [https://github.com/aaronjorbin/develop.wordpress/pull/18/commits/40ca3bff0a78aa9434102bb117e6ee2136940771
 because the taxonomy argument isn't unset].

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


More information about the wp-trac mailing list