diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 21073babaa..a87535a80a 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -259,7 +259,7 @@ function wp_delete_user($id, $reassign = 'novalue') { } else { $reassign = (int) $reassign; $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET post_author = %d WHERE post_author = %d", $reassign, $id) ); - $wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d}", $reassign, $id) ); + $wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d", $reassign, $id) ); } // FINALLY, delete user @@ -392,4 +392,4 @@ class WP_User_Search { } endif; -?> \ No newline at end of file +?>