Make WordPress Core


Ignore:
Timestamp:
11/30/2021 05:16:13 PM (2 years ago)
Author:
hellofromTonya
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/user.php

    r52204 r52285  
    537537    ?>
    538538<script>
    539 jQuery(document).ready( function($) {
     539jQuery( function($) {
    540540    var submit = $('#submit').prop('disabled', true);
    541541    $('input[name="delete_option"]').one('change', function() {
     
    545545        $('#delete_option1').prop('checked', true).trigger('change');
    546546    });
    547 });
     547} );
    548548</script>
    549549    <?php
Note: See TracChangeset for help on using the changeset viewer.