From 4a6314cdc7b55bee20034babe84c565c8f2da48e Mon Sep 17 00:00:00 2001
From: Andrew 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: https://develop.svn.wordpress.org/trunk@13306 602fd350-edb4-49c9-b593-d223f7449a82
---
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;
-?>
-