From 080d1b0969b66b832d3c01c23479a1deebeffa09 Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 20 Oct 2010 17:21:06 +0000 Subject: [PATCH] Make get_users arg optional. props duck_. see #14572. git-svn-id: http://svn.automattic.com/wordpress/trunk@15873 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 21609c505f..74a7e3e233 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -539,10 +539,10 @@ class WP_User_Query extends WP_Object_Query { * @uses $wpdb * @uses WP_User_Query See for default arguments and information. * - * @param array $args + * @param array $args Optional. * @return array List of users. */ -function get_users( $args ) { +function get_users( $args = array() ) { $args = wp_parse_args( $args ); $args['count_total'] = false;