From f77e99229879ce2a070fff87871a2ce330cef946 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 21 Oct 2010 13:12:05 +0000 Subject: [PATCH] Kill off get_users_of_blog args argument. git-svn-id: https://develop.svn.wordpress.org/trunk@15883 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index adfcff0e94..de60647313 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -565,10 +565,10 @@ function get_users( $args = array() ) { * @param int $id Blog ID. * @return array List of users that are part of that Blog ID */ -function get_users_of_blog( $id = '', $args = array() ) { +function get_users_of_blog( $id = '' ) { global $blog_id; - if ( empty($id) ) + if ( empty( $id ) ) $id = (int) $blog_id; return get_users( array( 'blog_id' => $id ) );