Changeset 2055
- Timestamp:
- 01/06/2005 10:07:52 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r2032 r2055 391 391 function add_option($name, $value = '', $description = '', $autoload = 'yes') { 392 392 global $wpdb; 393 $original = $value; 393 394 if ( is_array($value) || is_object($value) ) 394 395 $value = serialize($value); … … 402 403 if($wpdb->insert_id) { 403 404 global $cache_settings; 404 $cache_settings->{$name} = $ value;405 $cache_settings->{$name} = $original; 405 406 } 406 407 }
Note: See TracChangeset
for help on using the changeset viewer.