Inspired by: http://www.w3.org/TR/i18n-html-tech-lang/ http://mosquito.wordpress.org/view.php?id=1081 Index: wp-rss.php =================================================================== --- wp-rss.php (revision 2434) +++ wp-rss.php (working copy) @@ -7,7 +7,8 @@ require('wp-blog-header.php'); } -header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true); +header('Content-Type: text/xml; charset=' . get_settings('blog_charset'), true); +header('Content-Language: ' . get_settings('blog_lang'), true); $more = 1; ?> @@ -20,7 +21,7 @@ http://backend.userland.com/rss092 - + Index: wp-login.php =================================================================== --- wp-login.php (revision 2434) +++ wp-login.php (working copy) @@ -6,9 +6,12 @@ header('Expires: Wed, 11 Jan 1984 05:00:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); -header('Cache-Control: no-cache, must-revalidate'); +header('Cache-Control: no-cache, must-revalidate, max-age=0'); header('Pragma: no-cache'); +header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); +header('Content-Language: ' . get_option('blog_lang')); + if ( defined('RELOCATE') ) { // Move flag is set if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) ) $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] ); @@ -23,10 +26,6 @@ wp_clearcookie(); do_action('wp_logout'); - header('Expires: Mon, 11 Jan 1984 05:00:00 GMT'); - header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); - header('Cache-Control: no-cache, must-revalidate, max-age=0'); - header('Pragma: no-cache'); header('Location: wp-login.php'); exit(); @@ -36,10 +35,11 @@ do_action('lost_password'); ?> - + WordPress » <?php _e('Lost Password') ?> +