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/post.php

    r5529 r5553  
    448448    $post_id = (int) $post_id;
    449449
    450     $cats = get_object_terms($post_id, 'category', 'get=ids');
     450    $cats = get_object_terms($post_id, 'category', 'get=fields');
    451451    return $cats;
    452452}
Note: See TracChangeset for help on using the changeset viewer.