summaryrefslogtreecommitdiffstats
path: root/wp-includes/cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/cache.php')
-rw-r--r--wp-includes/cache.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/wp-includes/cache.php b/wp-includes/cache.php
index daaeaeb..2232e15 100644
--- a/wp-includes/cache.php
+++ b/wp-includes/cache.php
@@ -215,6 +215,8 @@ class WP_Object_Cache {
foreach ($dogs as $catt) {
$this->cache['category'][$catt->cat_ID] = $catt;
$this->cache[$this->key( $catt->cat_ID, 'category' )] = $catt;
+ }
+ }
} else
if ('options' == $group) {
$wpdb->hide_errors();
@@ -228,6 +230,7 @@ class WP_Object_Cache {
foreach ($options as $option) {
$this->cache['options'][$option->option_name] = $option->option_value;
+ $this->cache[$this->key( $option->option_name, 'options' )] = $option->option_value;
}
}
}