Changeset 14264
- Timestamp:
- 04/28/2010 02:17:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r14172 r14264 105 105 _e('User(s) already exists.'); 106 106 } else { 107 ?><input name="user_name" type="text" id="user_login" size="25" value="<?php echo esc_attr( $user_name ); ?>" /><?php 107 ?><input name="user_name" type="text" id="user_login" size="25" value="<?php echo esc_attr( sanitize_user( $user_name, true ) ); ?>" /> 108 <p><?php _e( 'Usernames can have only alphanumeric characters, spaces, underscores, hyphens, periods and the @ symbol.' ); ?></p> 109 <?php 108 110 } ?> 109 111 </td> … … 219 221 <tr> 220 222 <th><?php _e( 'Username' ); ?></th> 221 <td><code><?php echo esc_html( $user_name); ?></code></td>223 <td><code><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></code></td> 222 224 </tr> 223 225 <tr>
Note: See TracChangeset
for help on using the changeset viewer.