Support » Requests and Feedback » Edit to get_editable_authors() in admin-db.php

  • I have made this change on line 37 of admin-db.php that may be of use to others.

    $authors = $wpdb->get_results( “SELECT * FROM $wpdb->users WHERE ID IN ($editable) ORDER BY display_name” );

    Added ” ORDER BY display_name” to the SQL query to sort the results by display name. When a blog has a long list of authors, such as at a newspaper, where I work, selecting an author is cumbersome when the list of authors is sorted by ID.

  • The topic ‘Edit to get_editable_authors() in admin-db.php’ is closed to new replies.