From 1982ea7d20cfd17308b21755e73d9919d5232f5b Mon Sep 17 00:00:00 2001
From: nacin
Date: Mon, 22 Feb 2010 19:48:38 +0000
Subject: [PATCH] Fix notice, and use wp_max_upload_size() to fill
MAX_FILE_SIZE hidden field (used by supporting browsers for a client-side
check). Fixes #10849 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/import/opml.php | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/wp-admin/import/opml.php b/wp-admin/import/opml.php
index 030f06cf83..4a98ce686f 100644
--- a/wp-admin/import/opml.php
+++ b/wp-admin/import/opml.php
@@ -17,10 +17,8 @@ class OPML_Import {
function dispatch() {
global $wpdb, $user_ID;
-$step = $_POST['step'];
-if (!$step) $step = 0;
-?>
-