Use get_users_of_blog() for wp_getAuthors

git-svn-id: http://svn.automattic.com/wordpress/trunk@4854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-02-01 07:28:12 +00:00
parent 7179a94a0d
commit bf37dbf24f
1 changed files with 1 additions and 8 deletions

View File

@ -444,15 +444,8 @@ class wp_xmlrpc_server extends IXR_Server {
if(!$this->login_pass_ok($username, $password)) {
return($this->error);
}
// Get basic info on all users.
$all_users = $wpdb->get_results("
SELECT u.ID id,
u.user_login username
FROM {$wpdb->users} u
ORDER BY u.user_login
");
return($all_users);
return(get_users_of_blog());
}
/**