Ticket #56776: 56776.1.patch
File 56776.1.patch, 1.2 KB (added by , 2 years ago) |
---|
-
src/wp-admin/user-edit.php
634 634 <tr id="password" class="user-pass1-wrap"> 635 635 <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th> 636 636 <td> 637 <input class="hidden" value=" " /><!-- #24364 workaround -->638 637 <button type="button" class="button wp-generate-pw hide-if-no-js" aria-expanded="false"><?php _e( 'Set New Password' ); ?></button> 639 638 <div class="wp-pwd hide-if-js"> 640 639 <span class="password-input-wrapper"> -
src/wp-admin/user-new.php
566 566 </label> 567 567 </th> 568 568 <td> 569 <input class="hidden" value=" " /><!-- #24364 workaround -->570 569 <button type="button" class="button wp-generate-pw hide-if-no-js"><?php _e( 'Generate password' ); ?></button> 571 570 <div class="wp-pwd"> 572 571 <?php $initial_password = wp_generate_password( 24 ); ?>