Make WordPress Core

Ticket #21692: 21692.diff

File 21692.diff, 1.2 KB (added by scribu, 12 years ago)
  • TabularUnified wp-admin/admin.php

    diff --git wp-admin/admin.php wp-admin/admin.php
    index 16d220e..9968bb8 100644
    $time_format = get_option('time_format'); 
    8080wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'text', 'trackback', 'pingback'));
    8181
    8282wp_enqueue_script( 'common' );
    83 wp_enqueue_script( 'jquery-color' );
    8483
    8584$editing = false;
    8685
  • TabularUnified wp-includes/script-loader.php

    diff --git wp-includes/script-loader.php wp-includes/script-loader.php
    index 21387ac..6030af4 100644
    function wp_default_scripts( &$scripts ) { 
    103103
    104104        $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), false, 1 );
    105105
    106         $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), false, 1 );
     106        $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response', 'jquery-color'), false, 1 );
    107107
    108108        // WordPress no longer uses or bundles Prototype or script.aculo.us. These are now pulled from an external source.
    109109        $scripts->add( 'prototype', '//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js', array(), '1.7.1');