WordPress.org

Make WordPress Core

Changeset 4364


Ignore:
Timestamp:
10/10/06 04:16:12 (8 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.