Changeset 5087 for trunk/wp-includes/registration.php
- Timestamp:
- 03/23/2007 12:59:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/registration.php
r4651 r5087 90 90 $query = apply_filters('update_user_query', $query); 91 91 $wpdb->query( $query ); 92 $user_id = $ID;92 $user_id = (int) $ID; 93 93 } else { 94 94 $query = "INSERT INTO $wpdb->users … … 98 98 $query = apply_filters('create_user_query', $query); 99 99 $wpdb->query( $query ); 100 $user_id = $wpdb->insert_id;100 $user_id = (int) $wpdb->insert_id; 101 101 } 102 102
Note: See TracChangeset
for help on using the changeset viewer.