Changeset 24875 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 07/29/2013 06:16:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r24813 r24875 372 372 _deprecated_argument( __FUNCTION__, '3.1' ); 373 373 374 $wpdb->update( $wpdb->users, array( $pref=> $value ), array( 'ID' => $id ) );374 $wpdb->update( $wpdb->users, array( sanitize_key( $pref ) => $value ), array( 'ID' => $id ) ); 375 375 376 376 $user = new WP_User( $id );
Note: See TracChangeset
for help on using the changeset viewer.