[wp-trac] [WordPress Trac] #20460: Notice with clean_user_cache when deleting a user

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 18 21:24:56 UTC 2012


#20460: Notice with clean_user_cache when deleting a user
--------------------------+------------------------------
 Reporter:  blueyed       |       Owner:  duck_
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.4
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by duck_):

 In [20523]:
 {{{
 #!CommitTicketReference repository="" revision="20523"
 clean_user_cache() after the DELETE query in wp_delete_user(). See #20460.

 This is to prevent plugins managing to hook in between the cache cleaning
 and the actual deletion.
 }}}

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


More information about the wp-trac mailing list