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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 5 15:20:27 UTC 2012


#21760: get_term_by() calls are not cached
----------------------------------------+------------------------------
 Reporter:  wonderboymusic              |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Taxonomy                    |     Version:  2.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------------------

Comment (by nacin):

 Why were the return-by-references added back? I wonder if we still need
 them anymore.

 We might need to keep term_cache_group() as we'll need to keep the
 standard category, post_tag, and link_category buckets, but we should be
 able to get away with prefixing the buckets of any custom taxonomy.

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


More information about the wp-trac mailing list