WordPress.org

Make WordPress Core

Ticket #47105: 47105.patch

File 47105.patch, 469 bytes (added by chiragpatelhtml, 17 months ago)

I have fixed this focusing issue.

  • wp-admin/js/common.js

     
    164164                .filter( function() { return $( ':input:visible', this ).val() === ''; } )
    165165                .addClass( 'form-invalid' )
    166166                .find( ':input:visible' )
     167                .focus()
    167168                .change( function() { $( this ).closest( '.form-invalid' ).removeClass( 'form-invalid' ); } )
    168169                .length;
    169170};