Ticket #35257: 35257.diff
File 35257.diff, 535 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/js/updates.js
524 524 e.preventDefault(); 525 525 var $button = $( e.target ); 526 526 527 // Do nothing if the button is disabled. 528 if ( $button.hasClass( 'button-disabled' ) ) { 529 return; 530 } 531 527 532 if ( wp.updates.shouldRequestFilesystemCredentials && ! wp.updates.updateLock ) { 528 533 wp.updates.requestFilesystemCredentials( e ); 529 534 }