Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.

git-svn-id: https://develop.svn.wordpress.org/trunk@14570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-11 19:19:59 +00:00
parent 511e11006c
commit 6aa60bf619
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class MT_Import {
function users_form($n) {
global $wpdb;
$users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID");
$users = get_users_of_blog();
?><select name="userselect[<?php echo $n; ?>]">
<option value="#NONE#"><?php _e('&mdash; Select &mdash;') ?></option>
<?php