Make WordPress Core

Ticket #50919: 50919.patch

File 50919.patch, 717 bytes (added by mukesh27, 4 years ago)

Initial patch.

  • src/wp-includes/script-loader.php

     
    719719        $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array( 'scriptaculous-dragdrop' ) );
    720720
    721721        // jQuery.
    722         $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', array(), '1.12.4-wp' );
     722        $scripts->add( 'jquery', false, array( 'jquery-core' ), '1.12.4-wp' );
    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' );
    725725