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/'; ?> - +> <?php echo $title ?> - + +text_direction) ) : ?> + + -

WordPress

+

WordPress

diff --git a/wp-login.php b/wp-login.php index 0da24f61ff..91cf01b42e 100644 --- a/wp-login.php +++ b/wp-login.php @@ -23,15 +23,18 @@ if ( defined('RELOCATE') ) { // Move flag is set // Rather than duplicating this HTML all over the place, we'll stick it in function function login_header($title = 'Login', $message = '') { - global $errors, $error; + global $errors, $error, $wp_locale; ?> - +> <?php bloginfo('name'); ?> › <?php echo $title; ?> +text_direction) ) : ?> + +