Show authors' logins in alphabetical order. fixes #4232
git-svn-id: https://develop.svn.wordpress.org/trunk@5448 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c9fc18c591
commit
14a4a43f9e
|
@ -43,7 +43,7 @@ class WP_Import {
|
||||||
|
|
||||||
function users_form($n) {
|
function users_form($n) {
|
||||||
global $wpdb, $testing;
|
global $wpdb, $testing;
|
||||||
$users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID");
|
$users = $wpdb->get_results("SELECT user_login FROM $wpdb->users ORDER BY user_login");
|
||||||
?><select name="userselect[<?php echo $n; ?>]">
|
?><select name="userselect[<?php echo $n; ?>]">
|
||||||
<option value="#NONE#">- Select -</option>
|
<option value="#NONE#">- Select -</option>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue