Changeset 33438
- Timestamp:
- 07/27/2015 03:12:55 AM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r33437 r33438 142 142 <input type="password" name="admin_password" id="pass1" class="regular-text" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" /> 143 143 <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' ); ?>"> 144 <span class="dashicons dashicons- visibility"></span>144 <span class="dashicons dashicons-hidden"></span> 145 145 <span class="text"><?php _e( 'Hide' ); ?></span> 146 146 </button> -
trunk/src/wp-admin/js/user-profile.js
r33384 r33438 144 144 pwWrapper.addClass( 'show-password' ); 145 145 pw_togglebtn.attr({ 'data-toggle': 0, 'aria-label': userProfileL10n.ariaHide }) 146 .find( '.text' ).text( userProfileL10n.hide ) 147 ;146 .find( '.text' ).text( userProfileL10n.hide ); 147 pw_togglebtn.find( '.dashicons' ).removeClass('dashicons-visibility').addClass('dashicons-hidden'); 148 148 pwFieldText.focus(); 149 149 if ( ! _.isUndefined( pwFieldText[0].setSelectionRange ) ) { … … 154 154 pw_togglebtn.attr({ 'data-toggle': 1, 'aria-label': userProfileL10n.ariaShow }) 155 155 .find( '.text' ).text( userProfileL10n.show ); 156 pw_togglebtn.find( '.dashicons' ).removeClass('dashicons-hidden').addClass('dashicons-visibility'); 156 157 pw_field.focus(); 157 158 if ( ! _.isUndefined( pw_field[0].setSelectionRange ) ) { -
trunk/src/wp-admin/user-edit.php
r33420 r33438 471 471 <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" /> 472 472 <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> 474 474 <span class="text"><?php _e( 'Hide' ); ?></span> 475 475 </button> -
trunk/src/wp-admin/user-new.php
r33419 r33438 405 405 <input type="password" name="pass1" id="pass1" class="regular-text" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" /> 406 406 <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' ); ?>"> 407 <span class="dashicons dashicons- visibility"></span>407 <span class="dashicons dashicons-hidden"></span> 408 408 <span class="text"><?php _e( 'Hide' ); ?></span> 409 409 </button>
Note: See TracChangeset
for help on using the changeset viewer.