Changeset 5544
- Timestamp:
- 05/25/07 09:45:55 (1 year ago)
- Files:
-
- trunk/wp-includes/cache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/cache.php
r5255 r5544 187 187 188 188 function load_group_from_db($group) { 189 global $wpdb; 190 191 if ('category' == $group) { 192 $this->cache['category'] = array (); 193 if ($dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories")) { 194 foreach ($dogs as $catt) 195 $this->cache['category'][$catt->cat_ID] = $catt; 196 } 197 } 198 189 return; 199 190 } 200 191
