[wp-trac] [WordPress Trac] #16505: WP should cache that a post has no terms
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 13 16:03:42 UTC 2011
#16505: WP should cache that a post has no terms
--------------------------+-----------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-----------------------------
Comment (by wpdavis):
Just checked, and get_object_term_cache will return an empty array if
there are no terms, so an empty result is being cached, it just isn't
being parsed correctly in all instances. See #18392.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16505#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list