WordPress.org

Making WordPress.org

Changeset 7460


Ignore:
Timestamp:
07/13/2018 10:40:53 AM (15 months ago)
Author:
Otto42
Message:

Plugins: Make jQuery not a footer script anymore, because doing so breaks the upload form

File:
1 edited

Legend:

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

    r7440 r7460  
    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.