Opened 16 years ago
Closed 16 years ago
#15199 closed defect (bug) (worksforme)
Warning: Missing argument 1 for get_users() when deleting a user
| Reported by: | linguasite | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | admin users delete |
| Cc: | Focuses: |
Description
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();
}
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is in trunk. [15873]