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

WordPress Trac noreply at wordpress.org
Wed Sep 28 12:18:47 UTC 2016


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

Comment (by pento):

 It looks like the tests reverted in [30900] will provide additional
 coverage, with some tweaking. (Different cache keys, terms are now
 `WP_Term`s instead of `std_Object`s.)

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


More information about the wp-trac mailing list