Add/Edit User: Move weak password label to the checkbox.

props paulwilde.
fixes #32908.

git-svn-id: https://develop.svn.wordpress.org/trunk@33137 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2015-07-08 21:27:25 +00:00
parent 790b60ffb2
commit 55de610283
2 changed files with 10 additions and 6 deletions

View File

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

View File

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