Changeset 2027
- Timestamp:
- 01/01/05 22:09:08 (4 years ago)
- Files:
-
- trunk/wp-includes/class-snoopy.php (modified) (2 diffs)
- trunk/wp-includes/functions.php (modified) (1 diff)
- trunk/wp-includes/rss-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/class-snoopy.php
r1979 r2027 36 36 *************************************************/ 37 37 38 if ( !in_array('Snoopy', get_declared_classes() ) ) : 38 39 class Snoopy 39 40 { … … 896 897 } 897 898 } 899 endif; 898 900 899 901 ?> trunk/wp-includes/functions.php
r2026 r2027 367 367 function update_option($option_name, $newvalue) { 368 368 global $wpdb, $cache_settings; 369 if ( is_array($newvalue) || is_object($ value) )369 if ( is_array($newvalue) || is_object($newvalue) ) 370 370 $newvalue = serialize($newvalue); 371 371 trunk/wp-includes/rss-functions.php
r1979 r2027 415 415 $cache_status = $cache->check_cache( $url ); 416 416 } 417 417 418 418 // if object cached, and cache is fresh, return cached obj 419 419 if ( $cache_status == 'HIT' ) { … … 677 677 function get ($url) { 678 678 $this->ERROR = ""; 679 $cache_option = $this->file_name( $url );679 $cache_option = 'rss_' . $this->file_name( $url ); 680 680 681 681 if ( ! get_option( $cache_option ) ) {
