Change user name to username for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7658f0892d
commit
a3f84296c5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue