diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 07f2283ab9..c578c8de73 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -471,7 +471,7 @@ function wp_not_installed() { wp_die( __( 'The site you have requested is not installed properly. Please contact the system administrator.' ) ); } - } elseif ( ! is_blog_installed() && false === strpos( $_SERVER['PHP_SELF'], 'install.php' ) && !defined( 'WP_INSTALLING' ) ) { + } elseif ( ! is_blog_installed() && ! defined( 'WP_INSTALLING' ) ) { nocache_headers(); require( ABSPATH . WPINC . '/kses.php' );