WordPress.org

Make WordPress Core

Changeset 14572


Ignore:
Timestamp:
05/11/10 20:02:49 (5 years ago)
Author:
nacin
Message:

Remove unused global. props lloydbudd, fixes #13356.

File:
1 edited

Legend:

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

    r14570 r14572  
    5757 
    5858    function users_form($n) { 
    59         global $wpdb; 
    6059        $users = get_users_of_blog(); 
    6160?><select name="userselect[<?php echo $n; ?>]"> 
    6261    <option value="#NONE#"><?php _e('&mdash; Select &mdash;') ?></option> 
    6362    <?php 
    64  
    65  
    66         foreach ($users as $user) { 
    67             echo '<option value="'.$user->user_login.'">'.$user->user_login.'</option>'; 
    68         } 
    69 ?> 
     63        foreach ( $users as $user ) 
     64            echo '<option value="' . $user->user_login . '">' . $user->user_login . '</option>'; 
     65    ?> 
    7066    </select> 
    7167    <?php 
    72  
    7368    } 
    7469 
Note: See TracChangeset for help on using the changeset viewer.