Make WordPress Core


Ignore:
Timestamp:
07/22/2015 04:55:17 PM (10 years ago)
Author:
markjaquith
Message:

Make password field toggling work in IE8, and clean up a bunch of password CSS issues.

fixes #32886
props peterwilsoncc, adamsilverstein

File:
1 edited

Legend:

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

    r33353 r33362  
    138138            </th>
    139139            <td>
    140                 <button type="button" class="button button-secondary wp-generate-pw hide-if-no-js"><?php _e( 'Show password' ); ?></button>
    141                 <div class="wp-pwd hide-if-js">
     140                <div class="">
    142141                    <?php $initial_password = wp_generate_password( 24 ); ?>
    143142                    <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" />
     
    148147                    <div id="pass-strength-result" aria-live="polite"></div>
    149148                </div>
    150                 <p><span class="description hide-if-no-js"><?php _e( 'A password reset link will be sent to you via email.' ); ?></span></p>
     149                <p><span class="description important hide-if-no-js">
     150                <strong><?php _e( 'Important:' )?></strong> <?php _e( 'You will need this password to log in, please store it in a secure location.' ); ?></span></p>
    151151            </td>
    152152        </tr>
Note: See TracChangeset for help on using the changeset viewer.