WordPress.org

Make WordPress Core

Changeset 4365


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/admin-db.php

    r4285 r4365  
    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.