Wrong var
git-svn-id: https://develop.svn.wordpress.org/trunk@2845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
902768cec4
commit
e1023c7ed1
|
@ -38,7 +38,7 @@ $aim = wp_specialchars($_POST['aim']);
|
||||||
$yim = wp_specialchars($_POST['yim']);
|
$yim = wp_specialchars($_POST['yim']);
|
||||||
$email = wp_specialchars($_POST['email']);
|
$email = wp_specialchars($_POST['email']);
|
||||||
$url = wp_specialchars($_POST['url']);
|
$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'];
|
$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'");
|
$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'");
|
||||||
|
|
Loading…
Reference in New Issue