Ticket #4856: bp-blogs-functions.patch
File bp-blogs-functions.patch, 695 bytes (added by , 12 years ago) |
---|
-
bp-blogs-functions.php
56 56 57 57 if ( !empty( $blog_ids ) ) { 58 58 foreach( (array) $blog_ids as $blog_id ) { 59 $users = get_users( array( 'blog_id' => $blog_id ) );60 $subscribers = get_users( array( 'blog_id' => $blog_id, ' role' => 'subscriber' ) );59 $users = get_users( array( 'blog_id' => $blog_id, 'fields' => 'ID' ) ); 60 $subscribers = get_users( array( 'blog_id' => $blog_id, 'fields' => 'ID', 'role' => 'subscriber' ) ); 61 61 62 62 if ( !empty( $users ) ) { 63 63 foreach ( (array) $users as $user ) {