summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/wpmu-functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-09 12:25:53 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-09 12:25:53 +0000
commit38d71c3a281c5047dcf1fbfbe8707f70d0c7adc9 (patch)
tree48ec3e5e28e120c7a0cc193fd00ca377349aaae3 /wp-inst/wp-includes/wpmu-functions.php
parentd9e8bf841697695aa365542c2b55bcddae25398a (diff)
downloadwordpress-mu-38d71c3a281c5047dcf1fbfbe8707f70d0c7adc9.tar.gz
wordpress-mu-38d71c3a281c5047dcf1fbfbe8707f70d0c7adc9.tar.xz
wordpress-mu-38d71c3a281c5047dcf1fbfbe8707f70d0c7adc9.zip
Fix order of parameters of calls to wpmu_create_user()
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@555 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/wpmu-functions.php')
-rw-r--r--wp-inst/wp-includes/wpmu-functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-inst/wp-includes/wpmu-functions.php b/wp-inst/wp-includes/wpmu-functions.php
index 9351456..0e1f4c3 100644
--- a/wp-inst/wp-includes/wpmu-functions.php
+++ b/wp-inst/wp-includes/wpmu-functions.php
@@ -1054,7 +1054,7 @@ function wpmu_activate_signup($key) {
$user_id = username_exists($user_login);
if ( ! $user_id )
- $user_id = wpmu_create_user($user_login, $user_email, $password);
+ $user_id = wpmu_create_user($user_login, $password, $user_email);
if ( ! $user_id )
return new WP_Error('create_user', __('Could not create user'));
@@ -1095,7 +1095,7 @@ function wpmu_create_user( $user_name, $password, $email) {
return false;
// Check email too?
- $user_id = wp_create_user( $user_name, $email, $password);
+ $user_id = wp_create_user( $user_name, $password, $email );
$user = new WP_User($user_id);
// Newly created users have no roles or caps until they are added to a blog.
update_user_option($user_id, 'capabilities', '');