WordPress.org

Make WordPress Core

Ticket #15830: script-loader.diff

File script-loader.diff, 586 bytes (added by jczorkmid, 7 years ago)

patch

  • wp-includes/script-loader.php

     
    9191
    9292        $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' );
    9393
    94         $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", false, '20091124' );
     94        $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('jquery'), '20091124' );
    9595
    9696        $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1');
    9797