Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8467 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf798dda32
commit
69c7119827
@ -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;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user