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

WordPress Trac noreply at wordpress.org
Wed Nov 2 14:55:48 UTC 2016


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

Comment (by pavelevap):

 Interesting, I had a mistake in my code using `get_term_by( 'ID', ...` and
 it worked until 4.6. Now, I had to change `ID` to `id` in latest WP 4.7
 beta. I am not sure if it si related somehow to this issue...

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


More information about the wp-trac mailing list