Make WordPress Core

Changeset 33137


Ignore:
Timestamp:
07/08/2015 09:27:25 PM (9 years ago)
Author:
ocean90
Message:

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

props paulwilde.
fixes #32908.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r33067 r33137  
    482482</tr>
    483483<tr class="pw-weak">
    484     <th><label for="pw-weak"><?php _e( 'Confirm Password' ); ?></label></th>
     484    <th><?php _e( 'Confirm Password' ); ?></th>
    485485    <td>
    486     <input type="checkbox" name="pw-weak" class="pw-checkbox" />
    487     <?php _e( 'Confirm use of weak password' ); ?>
     486        <label for="pw-weak">
     487            <input type="checkbox" name="pw-weak" class="pw-checkbox" id="pw-weak" />
     488            <?php _e( 'Confirm use of weak password' ); ?>
     489        </label>
    488490    </td>
    489491</tr>
  • trunk/src/wp-admin/user-new.php

    r33033 r33137  
    420420    </tr>
    421421    <tr class="pw-weak">
    422         <th><label for="pw-weak"><?php _e( 'Confirm Password' ); ?></label></th>
     422        <th><?php _e( 'Confirm Password' ); ?></th>
    423423        <td>
    424             <input type="checkbox" name="pw-weak" class="pw-checkbox" />
    425             <?php _e( 'Confirm use of weak password' ); ?>
     424            <label for="pw-weak">
     425                <input type="checkbox" name="pw-weak" class="pw-checkbox" id="pw-weak" />
     426                <?php _e( 'Confirm use of weak password' ); ?>
     427            </label>
    426428        </td>
    427429    </tr>
Note: See TracChangeset for help on using the changeset viewer.