WordPress.org

Make WordPress Core

Changeset 5544


Ignore:
Timestamp:
05/25/07 09:45:55 (7 years ago)
Author:
ryan
Message:

Don't load category cache from old tables. see #4189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/cache.php

    r5255 r5544  
    187187 
    188188    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; 
    199190    } 
    200191 
Note: See TracChangeset for help on using the changeset viewer.