Make WordPress Core

Changeset 33363


Ignore:
Timestamp:
07/22/2015 05:23:27 PM (10 years ago)
Author:
markjaquith
Message:

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

props johnjamesjacoby
fixes #33077

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

Legend:

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

    r33362 r33363  
    165165            <td>
    166166                <label>
    167                     <input type="checkbox" name="pw_weak" class="pw-checkbox" />
     167                    <input type="checkbox" name="pw_weak" class="pw-checkbox" id="pw-weak" />
    168168                    <?php _e( 'Confirm use of weak password' ); ?>
    169169                </label>
  • trunk/src/wp-admin/user-edit.php

    r33353 r33363  
    484484    <th><?php _e( 'Confirm Password' ); ?></th>
    485485    <td>
    486         <label for="pw_weak">
     486        <label>
    487487            <input type="checkbox" name="pw_weak" class="pw-checkbox" id="pw-weak" />
    488488            <?php _e( 'Confirm use of weak password' ); ?>
  • trunk/src/wp-admin/user-new.php

    r33353 r33363  
    422422        <th><?php _e( 'Confirm Password' ); ?></th>
    423423        <td>
    424             <label for="pw-weak">
    425                 <input type="checkbox" name="pw-weak" class="pw-checkbox" id="pw-weak" />
     424            <label>
     425                <input type="checkbox" name="pw_weak" class="pw-checkbox" id="pw-weak" />
    426426                <?php _e( 'Confirm use of weak password' ); ?>
    427427            </label>
Note: See TracChangeset for help on using the changeset viewer.