Make WordPress Core

Changeset 62274


Ignore:
Timestamp:
04/27/2026 06:11:07 AM (2 weeks ago)
Author:
wildworks
Message:

Administration: Fix misaligned icon in user profile password field.

This changeset corrects a misalignment issue affecting the show/hide button next to the password field.

Reviewed by peterwilsoncc.
Merges [62262] and [62272] to the 7.0 branch.

Props piyushpatel123, rajdiptank111, ankitkumarshah, andrewssanya, jdahir0789, gautammkgarg, gaurangsondagar, gaisma22, ugyensupport, abduremon, ankitmaru, darshitrajyaguru97, khushdoms, monzuralam, mukesh27, wildworks.

Location:
branches/7.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/wp-admin/css/forms.css

    r62172 r62274  
    584584}
    585585
     586.button.wp-hide-pw.user-new-password-toggle {
     587    display: inline-flex;
     588    align-items: center;
     589    column-gap: 4px;
     590}
     591
    586592.wp-cancel-pw .dashicons-no {
    587593    display: none;
  • branches/7.0/src/wp-admin/user-edit.php

    r61651 r62274  
    696696                                            <div style="display:none" id="pass-strength-result" aria-live="polite"></div>
    697697                                        </div>
    698                                         <button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
     698                                        <button type="button" class="button wp-hide-pw user-new-password-toggle hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
    699699                                            <span class="dashicons dashicons-hidden" aria-hidden="true"></span>
    700700                                            <span class="text"><?php _e( 'Hide' ); ?></span>
Note: See TracChangeset for help on using the changeset viewer.