diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php
index 76195c3f63..92cfd5e87d 100644
|
a
|
b
|
if ( current_user_can( 'create_users' ) ) { |
| 561 | 561 | <td> |
| 562 | 562 | <input class="hidden" value=" " /><!-- #24364 workaround --> |
| 563 | 563 | <button type="button" class="button wp-generate-pw hide-if-no-js"><?php _e( 'Generate password' ); ?></button> |
| 564 | | <div class="wp-pwd"> |
| | 564 | <div class="wp-pwd hide-if-js"> |
| 565 | 565 | <?php $initial_password = wp_generate_password( 24 ); ?> |
| 566 | 566 | <span class="password-input-wrapper"> |
| 567 | 567 | <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" /> |