diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-07 09:29:38 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-07 09:29:38 +0000 |
| commit | 28dab6f8454486477ff59bef27bbc2be4cd100d8 (patch) | |
| tree | a558ec564cfc8247518e26f2c36c8ecab092119f /wp-inst/wp-admin/profile-update.php | |
| parent | 0f18897b9fcb5ab55a9a4df73a71e4aeb52a6db7 (diff) | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@301 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/profile-update.php')
| -rw-r--r-- | wp-inst/wp-admin/profile-update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-admin/profile-update.php b/wp-inst/wp-admin/profile-update.php index a5b75a5..8e1cc78 100644 --- a/wp-inst/wp-admin/profile-update.php +++ b/wp-inst/wp-admin/profile-update.php @@ -38,7 +38,7 @@ $aim = wp_specialchars($_POST['aim']); $yim = wp_specialchars($_POST['yim']); $email = wp_specialchars($_POST['email']); $url = wp_specialchars($_POST['url']); -$url = preg_match('/^(https?|ftps?|mailto|news|gopher):/is', $newuser_url) ? $newuser_url : 'http://' . $newuser_url; +$url = preg_match('/^(https?|ftps?|mailto|news|gopher):/is', $url) ? $url : 'http://' . $url; $user_description = $_POST['user_description']; $result = $wpdb->query("UPDATE $wpdb->users SET $updatepassword user_email='$email', user_url='$url', user_nicename = '$nicename', display_name = '$display_name' WHERE ID = '$user_ID'"); |
