WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #11254, comment 15


Ignore:
Timestamp:
03/29/2011 01:43:10 AM (10 years ago)
Author:
cronco
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11254, comment 15

    initial v1  
    11Wouldn'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?
     2
     3EDIT -  have submitted a patch which works for my use case, though I'm not sure it makes sense to update {{{ $GLOBALS['current_user']}}} in {{{clean_user_cache}}}.