Changeset 5544
- Timestamp:
- 05/25/2007 09:45:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.