Script loader fixes from mdawaffe. fixes #2765

git-svn-id: http://svn.automattic.com/wordpress/trunk@3830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-06-01 21:51:20 +00:00
parent 406ea582af
commit a481db2b6a
4 changed files with 11 additions and 6 deletions

View File

@@ -25,8 +25,9 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
}
}
wp_enqueue_script( 'xfn' );
$editing = true;
wp_enqueue_script( array('xfn', 'dbx-admin-key?pagenow=link.php') );
if ( current_user_can( 'manage_categories' ) )
wp_enqueue_script( 'ajaxcat' );
require('admin-header.php');
?>