Make WordPress Core

Ticket #56776: 56776.patch

File 56776.patch, 912 bytes (added by smit08, 2 years ago)

I have solved this issue by adding the form label field and then tested it. The error is now gone after applying the patch.

  • wp-admin/user-edit.php

     
    634634                                                        <tr id="password" class="user-pass1-wrap">
    635635                                                                <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
    636636                                                                <td>
    637                                                                         <input class="hidden" value=" " /><!-- #24364 workaround -->
     637                                                                        <label for="set-new-pass-btn-field" class="screen-reader-text">
     638                                                                                <?php _e( 'set new password field label field value' ); ?>
     639                                                                        </label>
     640                                                                        <input class="hidden" id="set-new-pass-btn-field" value=" " /><!-- #24364 workaround -->
    638641                                                                        <button type="button" class="button wp-generate-pw hide-if-no-js" aria-expanded="false"><?php _e( 'Set New Password' ); ?></button>
    639642                                                                        <div class="wp-pwd hide-if-js">
    640643                                                                                <span class="password-input-wrapper">