mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Require upgrade-functions.php so that call to upgrade_all() does not fail. Reported by shelleyp, fixed by 2fargon.
git-svn-id: https://develop.svn.wordpress.org/trunk@1578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user