Make WordPress Core


Ignore:
Timestamp:
11/17/2021 12:12:35 AM (2 years ago)
Author:
audrasjb
Message:

Login and Registration: auto-focus the reset password field.

Although auto-focusing form fields can be arguable in some cases, it makes sense when there is a very specific task to accomplish and when there is no relevant content before the auto-focused field.

This change brings consistency between various forms generated by wp-login.php.

Props afercia, donmhico, sabernhardt.
Fixes #40302.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r52091 r52193  
    993993        <?php
    994994
    995         login_footer( 'user_pass' );
     995        login_footer( 'pass1' );
    996996        break;
    997997
Note: See TracChangeset for help on using the changeset viewer.