Ticket #23067: 23067.diff
| File 23067.diff, 401 bytes (added by scribu, 5 months ago) |
|---|
-
wp-admin/includes/user.php
diff --git wp-admin/includes/user.php wp-admin/includes/user.php index 1d60aa5..ea3bdbf 100644
function wp_delete_user( $id, $reassign = 'novalue' ) { 240 240 $id = (int) $id; 241 241 $user = new WP_User( $id ); 242 242 243 if ( !$user->exists() ) 244 return false; 245 243 246 // allow for transaction statement 244 247 do_action('delete_user', $id); 245 248
