Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13242 closed defect (bug) (fixed)

Deleting a user and removing their posts creates errors

Reported by: yoavf's profile yoavf Owned by: ryan's profile ryan
Milestone: 3.0 Priority: high
Severity: blocker Version: 3.0
Component: General Keywords: has-patch
Focuses: Cc:

Description

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)
  1. Missing break in the deletion switch was calling the wp_delete_user function twice.

Attachments (1)

3.0.users-deletion.diff (1.1 KB) - added by yoavf 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @nacin
15 years ago

  • Owner set to ryan
  • Status changed from new to assigned

#2 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [14422]) User deletion fixes. Props yoavf. fixes #13242

Note: See TracTickets for help on using tickets.