Changeset 5759

Show
Ignore:
Timestamp:
06/25/07 21:37:47 (1 year ago)
Author:
ryan
Message:

Change cat_name, cat_ID to name, term_id.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-links-opml.php

    r5640 r5759  
    3030 
    3131foreach ((array) $cats as $cat) { 
    32     $catname = apply_filters('link_category', $cat->cat_name); 
     32    $catname = apply_filters('link_category', $cat->name); 
    3333 
    3434?> 
     
    3636<?php 
    3737 
    38     $bookmarks = get_bookmarks("category={$cat->cat_ID}"); 
     38    $bookmarks = get_bookmarks("category={$cat->term_id}"); 
    3939    foreach ((array) $bookmarks as $bookmark) { 
    4040        $title = attribute_escape(apply_filters('link_title', $bookmark->link_name));