if ( !empty($_POST['linkcheck']) )
$linkcheck = $_POST['linkcheck'];
-$this_file = 'link-manager.php';
+$this_file = admin_url('link-manager.php');
switch ($action) {
case 'deletebookmarks' :
wp_enqueue_script('link');
wp_enqueue_script('xfn');
+ if ( wp_is_mobile() )
+ wp_enqueue_script( 'jquery-touch-punch' );
+
$parent_file = 'link-manager.php';
$submenu_file = 'link-manager.php';
$title = __('Edit Link');
default :
break;
}
-?>