Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
321b1a613f
commit
00c831f44a
|
@ -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