From 400f3cf09bcf359de917ff6a8ef17e17a892e7d6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 9 May 2007 16:18:11 +0000 Subject: [PATCH] Include plugin.php before calling wp_die. fixes #4238 for 2.3. git-svn-id: https://develop.svn.wordpress.org/trunk@5418 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-blog-header.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-blog-header.php b/wp-blog-header.php index 411b93159e..00d3ccd5d3 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -7,6 +7,7 @@ if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) { require_once( dirname(__FILE__) . '/wp-includes/classes.php'); require_once( dirname(__FILE__) . '/wp-includes/functions.php'); + require_once( dirname(__FILE__) . '/wp-includes/plugin.php'); wp_die("There doesn't seem to be a 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"); }