WordPress.org

Make WordPress Core

Ticket #15693: 15693.patch

File 15693.patch, 420 bytes (added by ocean90, 3 years ago)
  • wp-admin/includes/ms.php

     
    7070        // Remove users from this blog. 
    7171        if ( ! empty( $users ) ) { 
    7272                foreach ( $users as $user ) { 
    73                         remove_user_from_blog( $user->user_id, $blog_id) ; 
     73                        remove_user_from_blog( $user->id, $blog_id) ; 
    7474                } 
    7575        } 
    7676