From 8e9cf8c20a51b088fdbd984a9c5f22801e2aa192 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 16 Dec 2010 17:23:54 +0000 Subject: [PATCH] Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830 git-svn-id: http://svn.automattic.com/wordpress/trunk@17000 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 6b633107d5..2312dd28a5 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -91,7 +91,7 @@ function wp_default_scripts( &$scripts ) { $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' ); - $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", false, '20091124' ); + $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), '20091124' ); $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1');