Changeset 13551 for trunk/wp-includes/user.php
- Timestamp:
- 03/02/2010 06:06:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r13464 r13551 204 204 _deprecated_argument( __FUNCTION__, '3.0' ); 205 205 206 $option = preg_replace('|[^a-z0-9_]|i', '', $option);207 206 if ( empty($user) ) 208 207 $user = wp_get_current_user(); … … 238 237 function update_user_option( $user_id, $option_name, $newvalue, $global = false ) { 239 238 global $wpdb; 239 240 240 if ( !$global ) 241 241 $option_name = $wpdb->prefix . $option_name;
Note: See TracChangeset
for help on using the changeset viewer.