Changeset 10894 for trunk/wp-admin/includes/user.php
- Timestamp:
- 04/08/2009 07:01:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/user.php
r10851 r10894 412 412 413 413 $id = (int) $id; 414 415 // allow for transaction statement 416 do_action('delete_user', $id); 414 417 415 418 if ($reassign == 'novalue') { … … 430 433 431 434 // FINALLY, delete user 432 do_action('delete_user', $id);433 435 434 436 $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id = %d", $id) ); … … 440 442 wp_cache_delete($user->user_login, 'userlogins'); 441 443 wp_cache_delete($user->user_email, 'useremail'); 444 445 // allow for commit transaction 446 do_action('deleted_user', $id); 442 447 443 448 return true;
Note: See TracChangeset
for help on using the changeset viewer.