Use correct variable. props ocean90, fixes #15693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4dd3b77b48
commit
7ba61cbcd6
|
@ -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) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue