]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/load.php
WordPress 4.1
[autoinstalls/wordpress.git] / wp-includes / load.php
index 07f2283ab9a8ac5eb7959da5a1af4038125dbb81..c578c8de73e3353af4d9b0fbb3d5a9afe55e9bcd 100644 (file)
@@ -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' );