Migration to get_settings and away from globals.

git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-03-01 19:55:45 +00:00
parent b6aa1f6807
commit a0867db6ed
27 changed files with 51 additions and 72 deletions

View File

@@ -94,7 +94,7 @@ case 'update':
$query = "UPDATE $tableusers SET user_firstname='$newuser_firstname', $updatepassword user_lastname='$newuser_lastname', user_nickname='$newuser_nickname', user_icq='$newuser_icq', user_email='$newuser_email', user_url='$newuser_url', user_aim='$newuser_aim', user_msn='$newuser_msn', user_yim='$newuser_yim', user_idmode='$newuser_idmode', user_description = '$user_description' WHERE ID = $user_ID";
$result = $wpdb->query($query);
if (!$result) {
die ("<strong>ERROR</strong>: couldn't update your profile... please contact the <a href=\"mailto:$admin_email\">webmaster</a> !<br /><br />$query<br /><br />");
die ("<strong>ERROR</strong>: couldn't update your profile...");
}
header('Location: profile.php?updated=true');
break;