[wp-trac] [WordPress Trac] #29894: get_terms() isn't caching - duplicate queries generated

WordPress Trac noreply at wordpress.org
Sat Oct 31 15:20:31 UTC 2015


#29894: get_terms() isn't caching - duplicate queries generated
------------------------------------------+-----------------------------
 Reporter:  webgeekconsulting             |       Owner:  boonebgorges
     Type:  defect (bug)                  |      Status:  accepted
 Priority:  normal                        |   Milestone:  Future Release
Component:  Taxonomy                      |     Version:  4.0
 Severity:  normal                        |  Resolution:
 Keywords:  needs-unit-tests needs-patch  |     Focuses:  performance
------------------------------------------+-----------------------------
Changes (by boonebgorges):

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


Comment:

 Many of the changes were actually handled in [35120], which changed
 `get_terms()` so that the cache key is generated using the SQL query. We
 could still look into the `fields` changes.

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


More information about the wp-trac mailing list