diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 1378f91134..f6d58f8f92 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1095,62 +1095,31 @@ function wp_nonce_ays($action) { } function wp_die($message, $title = '') { + global $wp_locale; + header('Content-Type: text/html; charset=utf-8'); if ( empty($title) ) $title = __('WordPress › Error'); if ( strstr($_SERVER['PHP_SELF'], 'wp-admin') ) - $logo_src = 'images/wordpress-logo.png'; + $admin_dir = ''; else - $logo_src = 'wp-admin/images/wordpress-logo.png'; + $admin_dir = 'wp-admin/'; ?> - +>