Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad3881470e
commit
22ce2c36c4
@ -56,20 +56,15 @@ class MT_Import {
|
||||
}
|
||||
|
||||
function users_form($n) {
|
||||
global $wpdb;
|
||||
$users = get_users_of_blog();
|
||||
?><select name="userselect[<?php echo $n; ?>]">
|
||||
<option value="#NONE#"><?php _e('— Select —') ?></option>
|
||||
<?php
|
||||
|
||||
|
||||
foreach ($users as $user) {
|
||||
echo '<option value="'.$user->user_login.'">'.$user->user_login.'</option>';
|
||||
}
|
||||
?>
|
||||
foreach ( $users as $user )
|
||||
echo '<option value="' . $user->user_login . '">' . $user->user_login . '</option>';
|
||||
?>
|
||||
</select>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
function has_gzip() {
|
||||
|
Loading…
Reference in New Issue
Block a user