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

WordPress Trac noreply at wordpress.org
Wed Apr 3 04:43:44 UTC 2013


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

Comment (by nacin):

 Replying to [comment:26 ryan]:
 > I don't mind the function. I mind changing cache locations. There is too
 much plugin code that directly accesses the current cache locations for
 both builtin and custom taxonomies.

 At that point, the function isn't needed. But, would be nice to namespace
 these as much as possible (and thus keep the function)? The only existing
 buckets are $taxonomy and {$taxonomy}_relationships. Maybe new buckets can
 all be taxonomy:$taxonomy:$group. I'd personally love to escape the
 generic $taxonomy bucket, at least for custom taxonomies, as the problem
 there is gonna continue to exist — #11531 — but I'll take what I can get.

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


More information about the wp-trac mailing list