From 090bee02ab1268c61404d65e85a71b5513bc5972 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 22 Jun 2009 20:10:02 +0000 Subject: [PATCH] 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 --- wp-settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-settings.php b/wp-settings.php index 8d755e357..aaf42bc8a 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -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 }