Make WordPress Core


Ignore:
Timestamp:
01/22/2021 12:30:39 PM (4 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes.

To be able to disable jQuery Migrate as step 3 of updating the jQuery version shipped with WordPress, all JQMIGRATE warnings in the browser console will have to be addressed.

This includes many minor adjustments to a wide array of core files.

Follow-up to:

Props Clorith, azaozz.
See #51812.

File:
1 edited

Legend:

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

    r49936 r50001  
    10021002jQuery(document).ready( function($) {
    10031003    var languageSelect = $( '#WPLANG' );
    1004     $( 'form' ).submit( function() {
     1004    $( 'form' ).on( 'submit', function() {
    10051005        // Don't show a spinner for English and installed languages,
    10061006        // as there is nothing to download.
Note: See TracChangeset for help on using the changeset viewer.