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

props paulwilde.
fixes #32908.
Built from https://develop.svn.wordpress.org/trunk@33137


git-svn-id: http://core.svn.wordpress.org/trunk@33108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-07-08 21:28:25 +00:00
parent 5fff9d1ef7
commit 73d57e6c86
3 changed files with 11 additions and 7 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; ?>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta1-33136';
$wp_version = '4.3-beta1-33137';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.