mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Kill off get_users_of_blog args argument.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
81f23003e3
commit
e967237499
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user