Fix up and normalize pw_weak/pw-weak IDs and labels.

props johnjamesjacoby
fixes #33077

git-svn-id: https://develop.svn.wordpress.org/trunk@33363 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2015-07-22 17:23:27 +00:00
parent d1a1e77e40
commit fece657158
3 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ function display_setup_form( $error = null ) {
<th scope="row"><?php _e( 'Confirm Password' ); ?></th>
<td>
<label>
<input type="checkbox" name="pw_weak" class="pw-checkbox" />
<input type="checkbox" name="pw_weak" class="pw-checkbox" id="pw-weak" />
<?php _e( 'Confirm use of weak password' ); ?>
</label>
</td>

View File

@ -483,7 +483,7 @@ if ( $show_password_fields ) :
<tr class="pw-weak">
<th><?php _e( 'Confirm Password' ); ?></th>
<td>
<label for="pw_weak">
<label>
<input type="checkbox" name="pw_weak" class="pw-checkbox" id="pw-weak" />
<?php _e( 'Confirm use of weak password' ); ?>
</label>

View File

@ -421,8 +421,8 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
<tr class="pw-weak">
<th><?php _e( 'Confirm Password' ); ?></th>
<td>
<label for="pw-weak">
<input type="checkbox" name="pw-weak" class="pw-checkbox" id="pw-weak" />
<label>
<input type="checkbox" name="pw_weak" class="pw-checkbox" id="pw-weak" />
<?php _e( 'Confirm use of weak password' ); ?>
</label>
</td>