diff options
-rw-r--r-- | wp-includes/wpmu-functions.php | 2 | ||||
-rw-r--r-- | wp-signup.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index 406fde9..29cd47a 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -1168,7 +1168,7 @@ function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id if( $key == 'public' || $key == 'archived' || $key == 'mature' || $key == 'spam' || $key == 'deleted' || $key == 'lang_id' ) { update_blog_status( $blog_id, $key, $value ); } else { - update_option( $blog_id, $key, $value ); + update_option( $key, $value ); } } diff --git a/wp-signup.php b/wp-signup.php index efda3dc..e290a6a 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -199,7 +199,8 @@ function validate_another_blog_signup() { }
$public = (int) $_POST['blog_public'];
- $meta = apply_filters('signup_create_blog_meta', array ('lang_id' => 1, 'public' => $public));
+ $meta = apply_filters('signup_create_blog_meta', array ('lang_id' => 1, 'public' => $public)); // depreciated
+ $meta = apply_filters( "add_signup_meta", $meta );
wpmu_create_blog( $domain, $path, $blog_title, $current_user->id, $meta, $wpdb->siteid );
confirm_another_blog_signup($domain, $path, $blog_title, $current_user->user_login, $current_user->user_email, $meta);
|