Rename Nickname to Username and mark Username and E-mail as required. Props filosofo. fixes #2940
git-svn-id: https://develop.svn.wordpress.org/trunk@4136 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1bca5d994d
commit
82bed993ed
@ -441,7 +441,7 @@ foreach ( (array) $roleclass as $user_object ) {
|
||||
<?php wp_nonce_field('add-user') ?>
|
||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||
<tr>
|
||||
<th scope="row" width="33%"><?php _e('Nickname') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
|
||||
<th scope="row" width="33%"><?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
|
||||
<td width="66%"><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -453,7 +453,7 @@ foreach ( (array) $roleclass as $user_object ) {
|
||||
<td><input name="last_name" type="text" id="last_name" value="<?php echo $new_user_lastname; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('E-mail') ?></th>
|
||||
<th scope="row"><?php _e('E-mail (required)') ?></th>
|
||||
<td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -507,4 +507,4 @@ break;
|
||||
} // end of the $action switch
|
||||
|
||||
include('admin-footer.php');
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user