WordPress.org

Make WordPress Core

Ticket #2370: admin-db.patch.diff

File admin-db.patch.diff, 502 bytes (added by paolo.gabrielli@…, 16 years ago)
  • admin-db.php

     
    3434                return false;
    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
    4040        return apply_filters('get_editable_authors', $authors);