WordPress.org

Make WordPress Core

Changeset 14570


Ignore:
Timestamp:
05/11/2010 07:19:59 PM (8 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/mt.php

    r14070 r14570  
    5858    function users_form($n) {
    5959        global $wpdb;
    60         $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID");
     60        $users = get_users_of_blog();
    6161?><select name="userselect[<?php echo $n; ?>]">
    6262    <option value="#NONE#"><?php _e('&mdash; Select &mdash;') ?></option>
Note: See TracChangeset for help on using the changeset viewer.