[wp-trac] [WordPress Trac] #11254: update_usermeta and delete_usermeta do not update or destroy cache

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 28 15:16:14 UTC 2011


#11254: update_usermeta and delete_usermeta do not update or destroy cache
---------------------------+-----------------------------
 Reporter:  mark8barnes    |       Owner:  ryan
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  Future Release
Component:  Cache          |     Version:  2.8.5
 Severity:  minor          |  Resolution:
 Keywords:  needs-testing  |
---------------------------+-----------------------------
Changes (by cronco):

 * cc: cronco (added)


Comment:

 Wouldn't adding {{{ wp_cache_delete($id,'user_meta');}}} in {{{
 clean_user_cache }}} take care of this and also clean up the code for {{{
 *_usermeta }}} a bit?

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


More information about the wp-trac mailing list