WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/26/2007 06:54:16 PM (15 years ago)
Author:
ryan
Message:

Update cat2tag converter. Some term API tweaks. see #4189

File:
1 edited

Legend:

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

    r5534 r5553  
    55
    66    if ( ! $cat_ids = wp_cache_get('all_category_ids', 'category') ) {
    7         $cat_ids = get_terms('category', 'get=ids&hierarchical=0&hide_empty=0');
     7        $cat_ids = get_terms('category', 'fields=ids&get=all');
    88        wp_cache_add('all_category_ids', $cat_ids, 'category');
    99    }
Note: See TracChangeset for help on using the changeset viewer.