Order get_editable_authors() by display_name. Props Paolo Gabrielli. fixes #2370

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-10-10 04:16:27 +00:00
parent 278d36bc89
commit 5770b65295

View File

@ -34,7 +34,7 @@ function get_editable_authors( $user_id ) {
return false;
} else {
$editable = join(',', $editable);
$authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable)" );
$authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable) ORDER BY display_name" );
}
return apply_filters('get_editable_authors', $authors);