diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-29 15:40:01 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-29 15:40:01 +0000 |
| commit | 923f4aaf4fcf6374db5097a2ebed0d970a08f1f5 (patch) | |
| tree | 9e7ec301c88478eaedb108e2e5b95bbd872b9a17 /wp-inst/wp-includes/rss-functions.php | |
| parent | 3e32eff632ade6aa191a9feeb475bc7d0d7cae50 (diff) | |
| download | wordpress-mu-923f4aaf4fcf6374db5097a2ebed0d970a08f1f5.tar.gz wordpress-mu-923f4aaf4fcf6374db5097a2ebed0d970a08f1f5.tar.xz wordpress-mu-923f4aaf4fcf6374db5097a2ebed0d970a08f1f5.zip | |
Customizable dashboard feeds: allow site admin to change them.
Changed *_site_settings() to *_site_option()
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@103 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/rss-functions.php')
| -rw-r--r-- | wp-inst/wp-includes/rss-functions.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wp-inst/wp-includes/rss-functions.php b/wp-inst/wp-includes/rss-functions.php index 960c273..25d1ced 100644 --- a/wp-inst/wp-includes/rss-functions.php +++ b/wp-inst/wp-includes/rss-functions.php @@ -662,8 +662,8 @@ class RSSCache { if ( !$wpdb->get_var("SELECT option_name FROM $wpdb->options WHERE option_name = '$cache_timestamp'") ) add_option($cache_timestamp, '', '', 'no'); - update_option($cache_option, $rss); - update_option($cache_timestamp, time() ); + update_site_option($cache_option, $rss); + update_site_option($cache_timestamp, time() ); return $cache_option; } @@ -678,14 +678,14 @@ class RSSCache { $this->ERROR = ""; $cache_option = 'rss_' . $this->file_name( $url ); - if ( ! get_option( $cache_option ) ) { + if ( ! get_site_option( $cache_option ) ) { $this->debug( "Cache doesn't contain: $url (cache option: $cache_option)" ); return 0; } - $rss = get_option( $cache_option ); + $rss = get_site_option( $cache_option ); return $rss; } @@ -847,4 +847,4 @@ function get_rss ($uri, $num = 5) { // Like get posts, but for RSS return false; } } -?>
\ No newline at end of file +?> |
