Enqueue XFN for link pages. Props mdawaffe. fixes #6217
git-svn-id: https://develop.svn.wordpress.org/trunk@7196 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
334b820f33
commit
f4158a9fc9
@ -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');
|
||||||
|
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user