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:
parent
511e11006c
commit
6aa60bf619
@ -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('— Select —') ?></option>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user