Make WordPress Core


Ignore:
Timestamp:
01/26/2023 06:10:54 PM (16 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Bring some consistency to the order of attributes in password fields.

Follow-up to [11359], [13592], [13696], [33023], [33246], [33353], [41556], [46256], [49248], [53111], [55094].

See #56791.

File:
1 edited

Legend:

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

    r55099 r55145  
    662662                                <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>
    663663                                <td>
    664                                 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" />
     664                                <input type="password" name="pass2" id="pass2" class="regular-text" value="" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" />
    665665                                    <?php if ( IS_PROFILE_PAGE ) : ?>
    666666                                        <p class="description" id="pass2-desc"><?php _e( 'Type your new password again.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.