diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php
index 21073ba..a87535a 100644
|
a
|
b
|
function wp_delete_user($id, $reassign = 'novalue') { |
| 259 | 259 | } else { |
| 260 | 260 | $reassign = (int) $reassign; |
| 261 | 261 | $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET post_author = %d WHERE post_author = %d", $reassign, $id) ); |
| 262 | | $wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d}", $reassign, $id) ); |
| | 262 | $wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d", $reassign, $id) ); |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | // FINALLY, delete user |
| … |
… |
class WP_User_Search { |
| 392 | 392 | } |
| 393 | 393 | endif; |
| 394 | 394 | |
| 395 | | ?> |
| 396 | | No newline at end of file |
| | 395 | ?> |