[wp-trac] [WordPress Trac] #18968: Remove some term cache misses
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 17 15:47:43 UTC 2011
#18968: Remove some term cache misses
-------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by nacin):
I don't know if using get_the_terms() here is a bad idea. While it is a
front-end template tag, we already use get_the_tags() and
get_the_category() in the list tables.
That said, if it's decided we don't do this, then we should be checking
get_object_term_cache() before hitting wp_get_post_terms().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18968#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list