[wp-trac] [WordPress Trac] #16505: WP should cache that a post has no terms

WordPress Trac noreply at wordpress.org
Wed Nov 7 20:00:53 UTC 2012


#16505: WP should cache that a post has no terms
--------------------------+---------------------
 Reporter:  nacin         |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Taxonomy      |     Version:  3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22433"]:
 {{{
 #!CommitTicketReference repository="" revision="22433"
 Only call wp_get_object_terms() if get_object_term_cache() says there is
 no cache (false), which is different than no terms. props wonderboymusic,
 fixes #16505.
 }}}

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


More information about the wp-trac mailing list