From e04638ac6ff8720c5e723a28de4e298b655f0605 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 16 Jul 2008 16:16:45 +0000 Subject: [PATCH] Add jquery dependency to admin-forms. Props 082net. fixes #7321 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@8347 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 38f8d528ca..87c3b9d833 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -125,7 +125,7 @@ function wp_default_scripts( &$scripts ) { 'pending' => __('%i% pending') // must look like: "# blah blah" ) ); $scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' ); - $scripts->add( 'admin-forms', '/wp-admin/js/forms.js', false, '20080401'); + $scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080401'); $scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' ); $scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' ); $scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery'), '20080128' );