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:
parent
3fc5ffa166
commit
a1449b1ebc
|
@ -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