Making WordPress.org

Changeset 7461


Ignore:
Timestamp:
07/13/2018 10:58:19 AM (7 years ago)
Author:
Otto42
Message:

Plugins: move jquery back to footer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php

    r7460 r7461  
    6464
    6565    // Make jQuery a footer script.
    66     //wp_scripts()->add_data( 'jquery', 'group', 1 );
    67     //wp_scripts()->add_data( 'jquery-core', 'group', 1 );
    68     //wp_scripts()->add_data( 'jquery-migrate', 'group', 1 );
     66    wp_scripts()->add_data( 'jquery', 'group', 1 );
     67    wp_scripts()->add_data( 'jquery-core', 'group', 1 );
     68    wp_scripts()->add_data( 'jquery-migrate', 'group', 1 );
    6969
    7070    wp_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
Note: See TracChangeset for help on using the changeset viewer.