WordPress.org

Make WordPress Core

Changeset 15873


Ignore:
Timestamp:
10/20/2010 05:21:06 PM (8 years ago)
Author:
nacin
Message:

Make get_users arg optional. props duck_. see #14572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r15851 r15873  
    540540 * @uses WP_User_Query See for default arguments and information.
    541541 *
    542  * @param array $args
     542 * @param array $args Optional.
    543543 * @return array List of users.
    544544 */
    545 function get_users( $args ) {
     545function get_users( $args = array() ) {
    546546
    547547    $args = wp_parse_args( $args );
Note: See TracChangeset for help on using the changeset viewer.