From 119195fda1d057bf0f4018ca0696192b12f60f4d Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11622 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-settings.php b/wp-settings.php index 8d755e3576..aaf42bc8aa 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 }