Ticket #1499: functions.php.2.diff
| File functions.php.2.diff, 564 bytes (added by markjaquith, 7 years ago) |
|---|
-
functions.php
368 368 369 369 // thx Alex Stapleton, http://alex.vort-x.net/blog/ 370 370 function add_option($name, $value = '', $description = '', $autoload = 'yes') { 371 global $wpdb; 371 global $wpdb, $cache_settings; 372 373 // Make sure the option doesn't already exist 374 if ( isset($cache_settings->$name) ) 375 return; 376 372 377 $original = $value; 373 378 if ( is_array($value) || is_object($value) ) 374 379 $value = serialize($value);
