Changeset 2717
- Timestamp:
- 07/17/2005 06:41:11 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r2716 r2717 329 329 global $wpdb, $cache_settings; 330 330 331 $newvalue = trim($newvalue); // I can't think of any situation we wouldn't want to trim 332 331 if ( is_string($newvalue) ) 332 $newvalue = trim($newvalue); 333 333 334 // If the new and old values are the same, no need to update. 334 335 if ( $newvalue == get_option($option_name) )
Note: See TracChangeset
for help on using the changeset viewer.