Changeset 15876 for trunk/wp-includes/user.php
- Timestamp:
- 10/20/2010 08:43:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r15873 r15876 564 564 * 565 565 * @param int $id Blog ID. 566 * @param array $args Optional query arguments passed to get_users() 566 567 * @return array List of users that are part of that Blog ID 567 568 */ 568 function get_users_of_blog( $id = '' ) {569 function get_users_of_blog( $id = '', $args = array() ) { 569 570 global $blog_id; 570 571 … … 572 573 $id = (int) $blog_id; 573 574 574 return get_users( array( 'blog_id' => $id ) ); 575 $args['blog_id'] = $id; 576 return get_users( $args ); 575 577 } 576 578
Note: See TracChangeset
for help on using the changeset viewer.