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:
nacin 2010-03-26 13:56:10 +00:00
parent 1eabd22805
commit eb709ded05
1 changed files with 1 additions and 1 deletions

View File

@ -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 ): ?>