From 5b568f3bf26b10ea814f4dde792eaf14ade81324 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 10 Oct 2006 04:16:12 +0000 Subject: [PATCH] Order get_editable_authors() by display_name. Props Paolo Gabrielli. fixes #2370 git-svn-id: https://develop.svn.wordpress.org/trunk@4364 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-db.php b/wp-admin/admin-db.php index 3bb7da854d..b755d8c421 100644 --- a/wp-admin/admin-db.php +++ b/wp-admin/admin-db.php @@ -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);