[wp-trac] [WordPress Trac] #13242: Deleting a user and removing their posts creates errors

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 22:58:37 UTC 2010


#13242: Deleting a user and removing their posts creates errors
--------------------------+-------------------------------------------------
 Reporter:  yoavf         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  3.0      
Component:  General       |     Version:  3.0      
 Severity:  blocker       |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Attached patch fixes two problems:

 1. clear_user_cache is called with the user object, after the user has
 been deleted (so nothing to clear)

 2. Missing break in the deletion switch was calling the wp_delete_user
 function twice.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13242>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list