Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
46afe7c285
commit
27eda1fae6
|
@ -56,20 +56,15 @@ class MT_Import {
|
||||||
}
|
}
|
||||||
|
|
||||||
function users_form($n) {
|
function users_form($n) {
|
||||||
global $wpdb;
|
|
||||||
$users = get_users_of_blog();
|
$users = get_users_of_blog();
|
||||||
?><select name="userselect[<?php echo $n; ?>]">
|
?><select name="userselect[<?php echo $n; ?>]">
|
||||||
<option value="#NONE#"><?php _e('— Select —') ?></option>
|
<option value="#NONE#"><?php _e('— Select —') ?></option>
|
||||||
<?php
|
<?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>
|
</select>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function has_gzip() {
|
function has_gzip() {
|
||||||
|
|
Loading…
Reference in New Issue