Make WordPress Core

Ticket #52256: #52256.patch

File #52256.patch, 740 bytes (added by rehanali, 3 years ago)

Added patch

  • user-new.php

     
    562562                <td>
    563563                        <input class="hidden" value=" " /><!-- #24364 workaround -->
    564564                        <button type="button" class="button wp-generate-pw hide-if-no-js"><?php _e( 'Generate password' ); ?></button>
    565                         <div class="wp-pwd">
     565                        <div class="wp-pwd hide-if-js">
    566566                                <?php $initial_password = wp_generate_password( 24 ); ?>
    567567                                <span class="password-input-wrapper">
    568568                                        <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" />