Make WordPress Core

Ticket #63281: 63281.patch

File 63281.patch, 528 bytes (added by abcd95, 2 months ago)
  • src/js/_enqueues/admin/user-profile.js

    diff --git a/src/js/_enqueues/admin/user-profile.js b/src/js/_enqueues/admin/user-profile.js
    index 2aebe62a91..36d61fee1a 100644
    a b  
    5757                $( '#pw-weak-text-label' ).text( __( 'Confirm use of weak password' ) );
    5858
    5959                // Focus the password field.
    60                 if ( 'mailserver_pass' !== $pass1.prop('id' ) ) {
     60                if ( 'mailserver_pass' !== $pass1.prop('id' ) && !$('#weblog_title').length ) {
    6161                        $( $pass1 ).trigger( 'focus' );
    6262                }
    6363        }