Changeset 6367
- Timestamp:
- 12/09/07 11:49:25 (9 months ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r6365 r6367 291 291 $safe_option_name = $wpdb->escape( $option_name ); 292 292 $newvalue = sanitize_option( $option_name, $newvalue ); 293 294 // Likely legacy -- can we drop this?295 if ( is_string( $newvalue ) )296 $newvalue = trim( $newvalue );297 293 298 294 // If the new and old values are the same, no need to update.
