Make WordPress Core


Ignore:
Timestamp:
07/27/2015 03:12:55 AM (9 years ago)
Author:
markjaquith
Message:

Toggle between dashicons-hidden and dashicons-visibility in the password hide/show button.

fixes #33135

File:
1 edited

Legend:

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

    r33420 r33438  
    471471            <input type="password" name="pass1" id="pass1" class="regular-text" value="" autocomplete="off" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />
    472472            <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
    473                 <span class="dashicons dashicons-visibility"></span>
     473                <span class="dashicons dashicons-hidden"></span>
    474474                <span class="text"><?php _e( 'Hide' ); ?></span>
    475475            </button>
Note: See TracChangeset for help on using the changeset viewer.