Change user name to username for consistency

git-svn-id: https://develop.svn.wordpress.org/trunk@14172 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Nikolay Bachiyski 2010-04-20 17:40:08 +00:00
parent cb1baf850f
commit 98da786577
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ function display_setup_form( $error = null ) {
<td><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></td> <td><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="user_name"><?php _e('User Name'); ?></label></th> <th scope="row"><label for="user_name"><?php _e('Username'); ?></label></th>
<td> <td>
<?php <?php
if ( $user_table ) { if ( $user_table ) {
@ -189,7 +189,7 @@ switch($step) {
$error = false; $error = false;
if ( empty( $user_name ) ) { if ( empty( $user_name ) ) {
// TODO: poka-yoke // TODO: poka-yoke
display_setup_form( __('you must provide a valid user name.') ); display_setup_form( __('you must provide a valid username.') );
$error = true; $error = true;
} elseif ( $admin_password != $admin_password_check ) { } elseif ( $admin_password != $admin_password_check ) {
// TODO: poka-yoke // TODO: poka-yoke