[wp-trac] [WordPress Trac] #21760: get_term_by() calls are not cached
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 5 15:12:41 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 wonderboymusic):
updated the patch:
1) removed all of my whitespace fixes (that was a gift from heaven, let's
just say I learned my lesson)[[BR]]
2) restored all return-by-reference things[[BR]]
3) moved {{{delete_term_cache}}} code to {{{clean_term_cache}}}[[BR]]
The patch is WAY more light now - next up is removing
{{{term_cache_group}}} as per Boren's feedback
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21760#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list