From cd78f6c49a3370eea1df8fb85d84ac7ac58fe1d5 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 10 Jul 2006 10:47:01 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@644 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/functions.php | 99 ++++++++++++++++++++++------------------------- 1 file changed, 46 insertions(+), 53 deletions(-) (limited to 'wp-includes/functions.php') diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 294d469..e7c0302 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1150,65 +1150,58 @@ function wp_nonce_ays($action) { } function wp_die($message) { - global $wpdb; - - if ( !$wpdb->show_errors ) - return false; header('Content-Type: text/html; charset=utf-8'); - $output = << - - - WordPress › Error - - - - -

WordPress

-

$message

- - -HEAD; - - $output = apply_filters('wp_die', $output, $message); - echo $output; + ul, ol { + padding: 5px 5px 5px 20px; + } + #logo { + margin-bottom: 2em; + } + --> + + + +

WordPress

+

+ + +