From 696afcde2e5389274bea757e3437b304471495a6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 25 Jan 2006 00:49:13 +0000 Subject: [PATCH] Upload links fix. fixes #2337 git-svn-id: https://develop.svn.wordpress.org/trunk@3480 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/link-import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/link-import.php b/wp-admin/link-import.php index 34d7b0185c..713686b3fb 100644 --- a/wp-admin/link-import.php +++ b/wp-admin/link-import.php @@ -36,7 +36,7 @@ switch ($step) {

- +
@@ -83,7 +83,7 @@ foreach ($categories as $category) { else // try to get the upload file. { $overrides = array('test_form' => false, 'test_type' => false); - $file = wp_handle_upload($_FILES['import'], $overrides); + $file = wp_handle_upload($_FILES['userfile'], $overrides); if ( isset($file['error']) ) die($file['error']);