Load formatting.php before install redirect so that wp_redirect() can call _deep_replace(). see #10226

git-svn-id: https://develop.svn.wordpress.org/trunk@11622 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-06-22 20:10:02 +00:00
parent f61cd95c52
commit 119195fda1

View File

@ -316,6 +316,7 @@ if ( !is_blog_installed() && (strpos($_SERVER['PHP_SELF'], 'install.php') === fa
$link = preg_replace('|/[^/]+?$|', '/', $_SERVER['PHP_SELF']) . 'wp-admin/install.php';
require_once(ABSPATH . WPINC . '/kses.php');
require_once(ABSPATH . WPINC . '/pluggable.php');
require_once(ABSPATH . WPINC . '/formatting.php');
wp_redirect($link);
die(); // have to die here ~ Mark
}