WordPress.org

Make WordPress Core

Changeset 48754


Ignore:
Timestamp:
08/07/2020 06:28:36 PM (7 weeks ago)
Author:
azaozz
Message:

Script Loader: Remove the jquery-migrate-compat-5.5 temporary script handle for now. Can be re-added later if there is a compelling use case. For now it doesn't seem necessary.

See #37110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r48753 r48754  
    723723    $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.12.4-wp' );
    724724    $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.4.1' );
    725 
    726     // Backward compatibility: Makes it easy for plugins and themes to enqueue jQuery with jQuery Migrate in WordPress 5.5.
    727     // Note: This script handle will most likely be removed in WordPress 5.6 or when jQuery is updated to the latest version.
    728     // Then plugins and themes that are still relying on it will stop functioning.
    729     $scripts->add( 'jquery-migrate-compat-5.5', false, array( 'jquery-core', 'jquery-migrate' ), '1.12.4-wp' );
    730725
    731726    // Full jQuery UI.
Note: See TracChangeset for help on using the changeset viewer.