summaryrefslogtreecommitdiffstats
path: root/wp-inst
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-12 15:56:39 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-12 15:56:39 +0000
commit51b69d89ca3050d82afd53bd2a591e78a45f3418 (patch)
treeee992c62611eb0ae6b529cccf92990147749a414 /wp-inst
parent9c35a3b98ee7f7c3137eb96e79611651505bf6cc (diff)
downloadwordpress-mu-51b69d89ca3050d82afd53bd2a591e78a45f3418.tar.gz
wordpress-mu-51b69d89ca3050d82afd53bd2a591e78a45f3418.tar.xz
wordpress-mu-51b69d89ca3050d82afd53bd2a591e78a45f3418.zip
Fix rss cache
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@179 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst')
-rw-r--r--wp-inst/wp-includes/rss-functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-inst/wp-includes/rss-functions.php b/wp-inst/wp-includes/rss-functions.php
index 7eb1b97..ee57ef0 100644
--- a/wp-inst/wp-includes/rss-functions.php
+++ b/wp-inst/wp-includes/rss-functions.php
@@ -658,9 +658,9 @@ class RSSCache {
$cache_timestamp = 'rss_' . $this->file_name( $url ) . '_ts';
if ( !$wpdb->get_var("SELECT meta_key FROM $wpdb->sitemeta WHERE meta_key = '$cache_option'") )
- add_site_option($cache_option, '', '', 'no');
+ add_site_option($cache_option, '');
if ( !$wpdb->get_var("SELECT meta_key FROM $wpdb->sitemeta WHERE meta_key = '$cache_timestamp'") )
- add_site_option($cache_timestamp, '', '', 'no');
+ add_site_option($cache_timestamp, '');
update_site_option($cache_option, $rss);
update_site_option($cache_timestamp, time() );