X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/449d082fcc4873c1f7d363a0d9f7409be7f6e77d..9cd344f9b14dd8e0743c1417fdb379b1431c3988:/wp-admin/import/opml.php diff --git a/wp-admin/import/opml.php b/wp-admin/import/opml.php index 8148acf6..7f2e1dc1 100644 --- a/wp-admin/import/opml.php +++ b/wp-admin/import/opml.php @@ -42,7 +42,7 @@ switch ($step) {

- +
@@ -58,13 +58,13 @@ switch ($step) { $categories = get_terms('link_category', 'get=all'); foreach ($categories as $category) { ?> - +

-

+

@@ -92,6 +92,7 @@ foreach ($categories as $category) { $blogrolling = true; } else { // try to get the upload file. $overrides = array('test_form' => false, 'test_type' => false); + $_FILES['userfile']['name'] .= '.txt'; $file = wp_handle_upload($_FILES['userfile'], $overrides); if ( isset($file['error']) )