diff --git a/src/js/_enqueues/admin/user-profile.js b/src/js/_enqueues/admin/user-profile.js
index c2a403fe38..f572963c73 100644
a
|
b
|
|
43 | 43 | |
44 | 44 | // Once zxcvbn loads, passwords strength is known. |
45 | 45 | $( '#pw-weak-text-label' ).text( __( 'Confirm use of weak password' ) ); |
| 46 | |
| 47 | // Focus the password field. |
| 48 | $( $pass1Text ).focus(); |
46 | 49 | } |
47 | 50 | |
48 | 51 | function bindPass1() { |
diff --git a/src/wp-login.php b/src/wp-login.php
index 0d030863ed..8045f03e52 100644
a
|
b
|
switch ( $action ) { |
935 | 935 | </p> |
936 | 936 | <?php |
937 | 937 | |
938 | | login_footer( 'user_pass' ); |
| 938 | login_footer( 'pass1-text' ); |
939 | 939 | break; |
940 | 940 | |
941 | 941 | case 'register': |