diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-21 08:21:19 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-21 08:21:19 +0000 |
| commit | 64bdfd85b39f9487cd474e7786ee5ca7e5ee32cc (patch) | |
| tree | ea02137931d66b94f371012625bca4a0e139bcb4 /wp-inst/wp-includes/registration-functions.php | |
| parent | 025638bbd3cbc2f189d7150549a1425b590bcfa8 (diff) | |
| download | wordpress-mu-64bdfd85b39f9487cd474e7786ee5ca7e5ee32cc.tar.gz wordpress-mu-64bdfd85b39f9487cd474e7786ee5ca7e5ee32cc.tar.xz wordpress-mu-64bdfd85b39f9487cd474e7786ee5ca7e5ee32cc.zip | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@349 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/registration-functions.php')
| -rw-r--r-- | wp-inst/wp-includes/registration-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/registration-functions.php b/wp-inst/wp-includes/registration-functions.php index 2d848b6..c55bab1 100644 --- a/wp-inst/wp-includes/registration-functions.php +++ b/wp-inst/wp-includes/registration-functions.php @@ -95,7 +95,7 @@ function wp_update_user($userdata) { $user_id = wp_insert_user($userdata); // Update the cookies if the password changed. - if( $current_user->data->ID == $ID ) { + if( $current_user->id == $ID ) { if ( isset($plaintext_pass) ) { wp_clearcookie(); wp_setcookie($userdata['user_login'], $plaintext_pass); |
