mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Use a generic string instead of "Your username" in user-edit.php to account for non-profile edits. props caesarsgrunt, fixes #11353
git-svn-id: http://svn.automattic.com/wordpress/trunk@13820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1eabd22805
commit
eb709ded05
@ -211,7 +211,7 @@ do_action('personal_options', $profileuser);
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label for="user_login"><?php _e('Username'); ?></label></th>
|
||||
<td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr($profileuser->user_login); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e('Your username cannot be changed.'); ?></span></td>
|
||||
<td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr($profileuser->user_login); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e('Usernames cannot be changed.'); ?></span></td>
|
||||
</tr>
|
||||
|
||||
<?php if ( !IS_PROFILE_PAGE ): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user