Enqueue XFN for link pages. Props mdawaffe. fixes #6217

git-svn-id: http://svn.automattic.com/wordpress/trunk@7196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-10 05:44:56 +00:00
parent 3fc5ffa166
commit a1449b1ebc
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
'notes', 'linkcheck[]')); 'notes', 'linkcheck[]'));
wp_enqueue_script('link'); wp_enqueue_script('link');
wp_enqueue_script('xfn');
wp_enqueue_script('thickbox'); wp_enqueue_script('thickbox');
require('admin-header.php'); require('admin-header.php');

View File

@ -84,6 +84,7 @@ switch ($action) {
case 'edit' : case 'edit' :
wp_enqueue_script('link'); wp_enqueue_script('link');
wp_enqueue_script('xfn');
wp_enqueue_script('thickbox'); wp_enqueue_script('thickbox');
$parent_file = 'edit.php'; $parent_file = 'edit.php';