[wp-trac] [WordPress Trac] #15199: Warning: Missing argument 1 for get_users() when deleting a user
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 24 00:49:34 UTC 2010
#15199: Warning: Missing argument 1 for get_users() when deleting a user
----------------------------+-----------------------------------------------
Reporter: linguasite | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.1
Severity: normal | Keywords: admin users delete
----------------------------+-----------------------------------------------
The function get_users() is called in line 176 in wp-admin/users.php
{{{
$all_logins = get_users();
}}}
This function seems to require an argument.
/wp-includes/user.php line 545
{{{
function get_users( $args ) {
$args = wp_parse_args( $args );
$args['count_total'] = false;
$user_search = new WP_User_Query($args);
return (array) $user_search->get_results();
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15199>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list