Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#15199 closed defect (bug) (worksforme)

Warning: Missing argument 1 for get_users() when deleting a user

Reported by: linguasite Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: admin users delete
Focuses: Cc:


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)

#1 @nacin
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

This is in trunk. [15873]

Note: See TracTickets for help on using tickets.