mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Make get_users arg optional. props duck_. see #14572.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6130324d14
commit
080d1b0969
@ -539,10 +539,10 @@ class WP_User_Query extends WP_Object_Query {
|
|||||||
* @uses $wpdb
|
* @uses $wpdb
|
||||||
* @uses WP_User_Query See for default arguments and information.
|
* @uses WP_User_Query See for default arguments and information.
|
||||||
*
|
*
|
||||||
* @param array $args
|
* @param array $args Optional.
|
||||||
* @return array List of users.
|
* @return array List of users.
|
||||||
*/
|
*/
|
||||||
function get_users( $args ) {
|
function get_users( $args = array() ) {
|
||||||
|
|
||||||
$args = wp_parse_args( $args );
|
$args = wp_parse_args( $args );
|
||||||
$args['count_total'] = false;
|
$args['count_total'] = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user