Make WordPress Core

Ticket #40302: 40302.2.diff

File 40302.2.diff, 788 bytes (added by sabernhardt, 3 years ago)

using pass1 ID

  • src/js/_enqueues/admin/user-profile.js

     
    4343
    4444                // Once zxcvbn loads, passwords strength is known.
    4545                $( '#pw-weak-text-label' ).text( __( 'Confirm use of weak password' ) );
     46
     47                // Focus the password field.
     48                $( $pass1 ).trigger( 'focus' );
    4649        }
    4750
    4851        function bindPass1() {
  • src/wp-login.php

     
    935935                </p>
    936936                <?php
    937937
    938                 login_footer( 'user_pass' );
     938                login_footer( 'pass1' );
    939939                break;
    940940
    941941        case 'register':