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:
parent
d1a1e77e40
commit
fece657158
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user