Ticket #1499: functions.php.diff
File functions.php.diff, 674 bytes (added by , 19 years ago) |
---|
-
wp-includes/functions.php
319 319 320 320 // thx Alex Stapleton, http://alex.vort-x.net/blog/ 321 321 function add_option($name, $value = '', $description = '', $autoload = 'yes') { 322 global $wpdb; 322 global $wpdb, $cache_settings; 323 324 //Get out quick if we have previously cached this. 325 if (isset($cache_settings->$name)) 326 return; 327 323 328 $original = $value; 324 329 if ( is_array($value) || is_object($value) ) 325 330 $value = serialize($value); … … 1849 1854 } 1850 1855 } 1851 1856 1852 ?> 1853 No newline at end of file 1857 ?>