External Libraries: Further fix jQuery deprecations in WordPress core.

Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547].

Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad.
Fixes #51519.

git-svn-id: https://develop.svn.wordpress.org/trunk@52285 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork
2021-11-30 17:16:13 +00:00
parent db674cc338
commit c882620e8b
22 changed files with 42 additions and 40 deletions
+2 -2
View File
@@ -536,7 +536,7 @@ function default_password_nag() {
function delete_users_add_js() {
?>
<script>
jQuery(document).ready( function($) {
jQuery( function($) {
var submit = $('#submit').prop('disabled', true);
$('input[name="delete_option"]').one('change', function() {
submit.prop('disabled', false);
@@ -544,7 +544,7 @@ jQuery(document).ready( function($) {
$('#reassign_user').focus( function() {
$('#delete_option1').prop('checked', true).trigger('change');
});
});
} );
</script>
<?php
}