mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Kill off get_users_of_blog args argument.
git-svn-id: https://develop.svn.wordpress.org/trunk@15883 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user