Passwords: New UI for install screen.

Also synchronises the use of `pw_weak` as an input name and removes trailing
periods from checkbox labels.

Props MikeHansenMe, adamsilverstein, obenland.
See #32589.


Built from https://develop.svn.wordpress.org/trunk@33246


git-svn-id: http://core.svn.wordpress.org/trunk@33218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland
2015-07-13 22:22:24 +00:00
parent 8ef2cd1537
commit 7e3f0cf45e
9 changed files with 161 additions and 62 deletions

View File

@@ -394,7 +394,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
<th scope="row">
<label for="pass1">
<?php _e( 'Password' ); ?>
<span class="description hide-if-js"><?php /* translators: password input field */_e( '(required)' ); ?></span>
<span class="description hide-if-js"><?php _e( '(required)' ); ?></span>
</label>
</th>
<td>
@@ -413,7 +413,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
</td>
</tr>
<tr class="form-field form-required user-pass2-wrap hide-if-js">
<th scope="row"><label for="pass2"><?php _e( 'Repeat Password' ); ?> <span class="description"><?php /* translators: password input field */_e('(required)'); ?></span></label></th>
<th scope="row"><label for="pass2"><?php _e( 'Repeat Password' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
<td>
<input name="pass2" type="password" id="pass2" autocomplete="off" />
</td>
@@ -423,7 +423,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
<td>
<label for="pw-weak">
<input type="checkbox" name="pw-weak" class="pw-checkbox" id="pw-weak" />
<?php _e( 'Confirm use of weak password.' ); ?>
<?php _e( 'Confirm use of weak password' ); ?>
</label>
</td>
</tr>