Change cat_name, cat_ID to name, term_id.

git-svn-id: https://develop.svn.wordpress.org/trunk@5759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-06-25 21:37:47 +00:00
parent 58655ffa52
commit 777fad0a11
1 changed files with 2 additions and 2 deletions

View File

@ -29,13 +29,13 @@ else
$cats = array (get_category($link_cat));
foreach ((array) $cats as $cat) {
$catname = apply_filters('link_category', $cat->cat_name);
$catname = apply_filters('link_category', $cat->name);
?>
<outline type="category" title="<?php echo attribute_escape($catname); ?>">
<?php
$bookmarks = get_bookmarks("category={$cat->cat_ID}");
$bookmarks = get_bookmarks("category={$cat->term_id}");
foreach ((array) $bookmarks as $bookmark) {
$title = attribute_escape(apply_filters('link_title', $bookmark->link_name));
?>