summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-12-07 15:02:12 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-12-07 15:02:12 +0000
commitd3ac809ed8a43bde6ea954329b3291fd9ca4aad5 (patch)
tree812fbbf13144f7278514b6e2d2a1ce946b494fd9 /wp-signup.php
parente7b243973132b555e66a0517e25232ba213bc35e (diff)
downloadwordpress-mu-d3ac809ed8a43bde6ea954329b3291fd9ca4aad5.zip
wordpress-mu-d3ac809ed8a43bde6ea954329b3291fd9ca4aad5.tar.gz
wordpress-mu-d3ac809ed8a43bde6ea954329b3291fd9ca4aad5.tar.xz
Change lang_id to 1 because of SQL errors (fixes #178)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@820 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-signup.php b/wp-signup.php
index 71f0871..1b84748 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -192,7 +192,7 @@ function validate_another_blog_signup() {
}
$public = (int) $_POST['blog_public'];
- $meta = apply_filters('signup_create_blog_meta', array ('lang_id' => 'en', 'public' => $public));
+ $meta = apply_filters('signup_create_blog_meta', array ('lang_id' => 1, 'public' => $public));
wpmu_create_blog($domain, $path, $blog_title, $current_user->id, $meta);
confirm_another_blog_signup($domain, $path, $blog_title, $current_user->user_login, $current_user->user_email, $meta);
@@ -324,7 +324,7 @@ function validate_blog_signup() {
}
$public = (int) $_POST['blog_public'];
- $meta = array ('lang_id' => 'en', 'public' => $public);
+ $meta = array ('lang_id' => 1, 'public' => $public);
$meta = apply_filters( "add_signup_meta", $meta );
wpmu_signup_blog($domain, $path, $blog_title, $user_name, $user_email, $meta);