mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
643f76d20c
commit
1a98124b2c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user