--- index.php 2004-07-23 12:33:18.219511982 -0700 +++ lang-index.php 2004-07-23 12:32:49.345946390 -0700 @@ -3,7 +3,7 @@ require('./wp-blog-header.php'); ?> - +> <?php bloginfo('name'); ?><?php wp_title(); ?> --- wp-includes/functions.php 2004-07-23 12:33:20.172279768 -0700 +++ wp-includes/lang-functions.php 2004-07-23 12:31:47.795273370 -0700 @@ -1865,4 +1865,11 @@ return $wp_query_state->home; } +function blog_language() { + $lang = get_settings('default_blog_language'); + // This is for XHTML 1.0: + echo 'lang="'.$lang.'" xml:lang="'.$lang.'"'; + // This is for XHTML 1.1: + // echo 'xml:lang="'.$lang.'"'; +} ?> \ No newline at end of file --- wp-admin/options-writing.php 2004-07-23 12:33:18.320499973 -0700 +++ wp-admin/lang-options-writing.php 2004-07-23 12:32:10.391582592 -0700 @@ -48,7 +48,7 @@

Writing Options

- + @@ -87,6 +87,11 @@ ?> + + + +
+
--- wp-admin/upgrade-functions.php 2004-07-23 12:33:19.354377028 -0700 +++ wp-admin/lang-upgrade-functions.php 2004-07-23 12:32:30.758158246 -0700 @@ -877,6 +877,10 @@ $wpdb->query("INSERT INTO $wpdb->options (option_name, option_type, option_value, option_description, option_admin_level) VALUES('default_email_category', 1, '1', 'by default posts by email will have this category', 8)"); } + if(!$wpdb->get_var("SELECT option_id FROM $wpdb->options WHERE option_name = 'default_blog_language'")) { + $wpdb->query("INSERT INTO $wpdb->options (option_name, option_type, option_value, option_description, option_admin_level) VALUES('default_blog_language', 1, 'en', 'by default this will identify the language of your blog', 8)"); + } + if(!$wpdb->get_var("SELECT option_id FROM $wpdb->options WHERE option_name = 'recently_edited'")) { $wpdb->query("INSERT INTO $wpdb->options (option_name, option_type, option_value, option_admin_level) VALUES ('recently_edited', 3, '', 8)"); }