From 5bbe16e0e0bdaa1e483169a4c0e08a58fa53ac5f Mon Sep 17 00:00:00 2001 From: rboren Date: Mon, 30 Aug 2004 23:39:02 +0000 Subject: [PATCH] Require upgrade-functions.php so that call to upgrade_all() does not fail. Reported by shelleyp, fixed by 2fargon. git-svn-id: http://svn.automattic.com/wordpress/trunk@1578 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/import-mt.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/import-mt.php b/wp-admin/import-mt.php index 17eeee642..b08405b1e 100644 --- a/wp-admin/import-mt.php +++ b/wp-admin/import-mt.php @@ -4,6 +4,7 @@ define('MTEXPORT', '');// enter the relative path of the import.txt file contain if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. You must install WordPress before you import any entries."); require('../wp-config.php'); +require ('upgrade-functions.php'); $step = $HTTP_GET_VARS['step']; if (!$step) $step = 0; ?>