Make WordPress Core

Ticket #32064: 32064.patch

File 32064.patch, 576 bytes (added by ocean90, 10 years ago)
  • src/wp-admin/js/updates.js

     
    235235                wp.updates.updateLock = false;
    236236
    237237                $(document).trigger( 'wp-plugin-update-success', response );
    238                
     238
    239239                wp.updates.queueChecker();
    240240        };
    241241
     
    373373                $( 'body' ).addClass( 'modal-open' );
    374374                $modal.show();
    375375
    376                 $modal.find( '#hostname' ).focus();
     376                $modal.find( 'input:enabled:first' ).focus();
    377377                $modal.keydown( wp.updates.keydown );
    378378        };
    379379