﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
23057,Pass $reassign in the delete_user hook,genkisan,,"File: wp-admin\includes\user.php

In the wp_delete_user function, there are 2 do_action hooks
- do_action('delete_user', $id);
- do_action('deleted_user', $id);

The $reassign variable should also be passed along. We can then decide what to do when the admin delete a user by ""Delete all posts"" or ""Attribute all posts to: XYZ"".",enhancement,new,normal,Awaiting Review,Users,3.5,normal,,has-patch,
