[wp-trac] [WordPress Trac] #35454: `lazyload_term_meta` is called many time when calling `get_term_metadata`

WordPress Trac noreply at wordpress.org
Sat Feb 13 03:06:06 UTC 2016

#35454: `lazyload_term_meta` is called many time when calling `get_term_metadata`
 Reporter:  sfai05        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  4.4
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:  performance
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


 I'm going to close this ticket in favor of #35816. [36424] should resolve
 your problem, since the cache will only be primed the first time
 `get_term_meta()` is called within the loop.

 Thanks again for the report!

Ticket URL: <https://core.trac.wordpress.org/ticket/35454#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list