[wp-trac] [WordPress Trac] #13318: Bug caching get_terms

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 2 20:45:59 UTC 2011


#13318: Bug caching get_terms
--------------------------+-----------------------
 Reporter:  djudorange    |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.2
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------

Comment (by scribu):

 Taking a closer look, the $defaults array is always the same. Therefore,
 baking it into the cache key has no effect at all, so we can just skip it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13318#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list