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
This commit is contained in:
parent
2a84681941
commit
5bbe16e0e0
|
@ -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.");
|
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('../wp-config.php');
|
||||||
|
require ('upgrade-functions.php');
|
||||||
$step = $HTTP_GET_VARS['step'];
|
$step = $HTTP_GET_VARS['step'];
|
||||||
if (!$step) $step = 0;
|
if (!$step) $step = 0;
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue