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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-06-22 20:10:02 +00:00
parent 897f52c524
commit 090bee02ab

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
}