Use correct variable. props ocean90, fixes #15693.
git-svn-id: https://develop.svn.wordpress.org/trunk@16748 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8abcb8e5ce
commit
cad9b99f1e
@ -70,7 +70,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
|
|||||||
// Remove users from this blog.
|
// Remove users from this blog.
|
||||||
if ( ! empty( $users ) ) {
|
if ( ! empty( $users ) ) {
|
||||||
foreach ( $users as $user ) {
|
foreach ( $users as $user ) {
|
||||||
remove_user_from_blog( $user->user_id, $blog_id) ;
|
remove_user_from_blog( $user->ID, $blog_id) ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user