From cad9b99f1e937bc4e7dc53b886731c27df9cfba6 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 6 Dec 2010 15:44:30 +0000 Subject: [PATCH] Use correct variable. props ocean90, fixes #15693. git-svn-id: https://develop.svn.wordpress.org/trunk@16748 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/ms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 99bd909163..b72e735f0d 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -70,7 +70,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) { // Remove users from this blog. if ( ! empty( $users ) ) { foreach ( $users as $user ) { - remove_user_from_blog( $user->user_id, $blog_id) ; + remove_user_from_blog( $user->ID, $blog_id) ; } }