WordPress.org

Make WordPress Core

Ticket #3671: admin-db.php.diff

File admin-db.php.diff, 413 bytes (added by ketsugi, 11 years ago)
  • admin-db.php

     
    271271        }
    272272
    273273        // FINALLY, delete user
    274         do_action('delete_user', $id);
     274        do_action('delete_user', $id, $user);
    275275
    276276        $wpdb->query("DELETE FROM $wpdb->users WHERE ID = $id");
    277277        $wpdb->query("DELETE FROM $wpdb->usermeta WHERE user_id = '$id'");