[wp-trac] [WordPress Trac] #22560: Cache invalidation in wp_set_object_terms

WordPress Trac noreply at wordpress.org
Sun Nov 25 19:36:39 UTC 2012


#22560: Cache invalidation in wp_set_object_terms
--------------------------+------------------------------
 Reporter:  batmoo        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by nacin):

 * keywords:   => close


Comment:

 I could see why this can be an issue. Many developers use
 wp_set_object_terms() for posts, probably not realizing the higher level
 function exists. I don't think there is any harm in clearing the cache at
 a lower point in the stack.

 Correct me if I'm wrong, but this also isn't a regression? We didn't add
 caching, just invalidation. Or does the caching apply in new places that
 could cause issues?

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


More information about the wp-trac mailing list