Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #45130, comment 10


Ignore:
Timestamp:
10/30/2018 03:05:03 PM (5 years ago)
Author:
remzicavdar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45130, comment 10

    v1 v2  
    2020        // Deregister WP core jQuery
    2121        wp_deregister_script('jquery');
    22         // Enqueue jQuery in the footer
    23         wp_enqueue_script( 'jquery', $plugin->jquery, array(), null, true );
     22        // Enqueue jQuery in the head, because some plugins broke
     23        wp_enqueue_script( 'jquery', $plugin->jquery, array(), null, false );
    2424
    2525        // Deregister WP core jQuery Migrate