mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Add missing comma. Props donncha. fixes #1675
git-svn-id: http://svn.automattic.com/wordpress/trunk@2883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
69fad9bf3b
commit
4b40f98408
@ -35,7 +35,7 @@ function wp_insert_user($userdata) {
|
|||||||
$user_registered = gmdate('Y-m-d H:i:s');
|
$user_registered = gmdate('Y-m-d H:i:s');
|
||||||
|
|
||||||
if ( $update ) {
|
if ( $update ) {
|
||||||
$query = "UPDATE $wpdb->users SET user_pass='$user_pass' user_email='$user_email', user_url='$user_url', user_nicename = '$user_nicename', display_name = '$display_name' WHERE ID = '$ID'";
|
$query = "UPDATE $wpdb->users SET user_pass='$user_pass', user_email='$user_email', user_url='$user_url', user_nicename = '$user_nicename', display_name = '$display_name' WHERE ID = '$ID'";
|
||||||
$query = apply_filters('update_user_query', $query);
|
$query = apply_filters('update_user_query', $query);
|
||||||
$wpdb->query( $query );
|
$wpdb->query( $query );
|
||||||
$user_id = $ID;
|
$user_id = $ID;
|
||||||
|
Loading…
Reference in New Issue
Block a user