X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7688c6ba71852cd89123b62b2d57683535e4702a..refs/tags/wordpress-4.6.1:/wp-blog-header.php?ds=sidebyside diff --git a/wp-blog-header.php b/wp-blog-header.php index 00d3ccd5..3a7cfb69 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -1,25 +1,21 @@ wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress › Error"); -} - -$wp_did_header = true; + $wp_did_header = true; -require_once( dirname(__FILE__) . '/wp-config.php'); + // Load the WordPress library. + require_once( dirname(__FILE__) . '/wp-load.php' ); -wp(); -gzip_compression(); + // Set up the WordPress query. + wp(); -require_once(ABSPATH . WPINC . '/template-loader.php'); + // Load the theme template. + require_once( ABSPATH . WPINC . '/template-loader.php' ); -endif; - -?> +}