Make WordPress Core

Changeset 4364


Ignore:
Timestamp:
10/10/2006 04:16:12 AM (18 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-db.php

    r4156 r4364  
    3535    } else {
    3636        $editable = join(',', $editable);
    37         $authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable)" );
     37        $authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable) ORDER BY display_name" );
    3838    }
    3939
Note: See TracChangeset for help on using the changeset viewer.